A California man confessed after his arrest that he made the hoax calls that led a police officer to fatally shoot an unarmed man in Kansas, adding he routinely made similar calls to seek attention, a detective testified Tuesday.

Tyler Barriss, 25, is accused of calling Wichita police from Los Angeles on Dec. 28 to report a shooting and kidnapping at a Wichita home. The person who made the two calls said he shot his father in the head and was holding his mother and younger brother at gunpoint in a closet in the house.

Police went to the house where they thought the crime was occurring, and an officer fatally shot 28-year-old Andrew Finch after he opened the door.

The shooting drew national attention to "swatting," a practice in whichfrom the player who initially contacted him, then followed the other player on Twitter and confirmed the address with him.

Wichita police officer Justin Rapp testified that he was assigned to provide cover from across the street for responding officers on the night of the Wichita shooting. He said he believed at the time that the man who came to the door was the one who had called 911 to report he had killed his father and was holding his mother and sibling at gunpoint.

Rapp said Finch was not compliant with the commands from police officers, and he saw him very briefly put his hands up to ear level and just as quickly put them down to his waist band. Finch then made a motion that looked like he