currently i am working on google cardboard there any way to give inputs to the game using headset button

magnet does not work the same for all the phones…so my question is , is there any way to use headset button for shooting inside the game instead of magnet

The Cardboard SDK also checks for Input.GetMouseDown(0), which works with screen touches and a bluetooth mouse. You can else edit Cardboard.cs, in the function UpdateState(), and add other possible triggers there, like Input.GetKeyDown(??).