A court has given the Federal Bureau of Investigation an affidavit given four years ago by the shooter from Las Vegas in which he admitted that he took tranquilizers that could cause tantrums.