generic game pad controller setup

hi .
I already buy a gamepad controller to use on unity 5.1 to move a character and shoot a gun.
without configure, the gamepad works to move the character but
i dont know how to configure any button just to shoot the gun.

I enter to imput manager… dont know how configure…
I just need to assign any button to fire the shotgun.

please any idea will be apreciate so much.

note:
the character moves very well.
my problem is just to assign a button to fire

2456559--168842--41K-99cGH4L.SY300.jpg

any idea please ?

?

any tutorial link or some idea ?
thanks

First you need to game controller settings to test you buttons and sticks and see the respective key number(code), to know what their numbers. then use it in your unity input manager. Example: joystick button 0. Exp: In my controller : Button (B) is joystick button 2, (A) is joystick button 1 and so on…