hi,
Just testing out a gamecontroller in my game. (Swift) iOS.
buttons work using the code i found in a tutorial - but when i press a button in the game, the func associated with that button, for example, fire or jump, runs dozens of times in the microsecond i press the physical button!
how can i cater for that and allow only one press at a time ??
thanks