- Home /
Ps4 Controller
Ok so i've started using a Ps4 Controller cause my friends and i don't like using keyboards for FPS. but after i got it mapped and all the buttons working there seems to be a problem... when i press the fire button(R2 (joystick button 7)) it tends to have a mind of its own in that it either fires properly, doesn't fire, or continuously fires until my gun is out of ammo... any help with this would be much appreciated.
Got Amaster's reply in my gmail because I had answered this awhile ago. Almost a year ago. Where did all that information go?
This question should either be deleted or the other comments and answers shown, as there was some back and forth given and more information eluding to his issue. If I remember right he had his fire function nested in another function within update.
Unsubscribing to this. Should probably be deleted.
Answer by AmasterAmaster · Jan 27, 2015 at 03:24 AM
Have you tried using Input.GetButtonDown("FireButton")? (or whatever you called that joystick button in the input manager?) This should allow it to only fire once while the button is down.
Your answer