I'm currently setting up my game to support both keyboard and joypad control and so far it’s working flawlessly, save for one thing...
If for example I need to call Keyhit(KEY_UP), I can't see any obvious equivalent command for the joypad, only JoyY()=-1 which is effectively the same as KeyDown(KEY_UP).
Does anyone have any idea of an easy way to make a JoyAxisHit() command that will only register the joystick movement once?
Thanks!
If for example I need to call Keyhit(KEY_UP), I can't see any obvious equivalent command for the joypad, only JoyY()=-1 which is effectively the same as KeyDown(KEY_UP).
Does anyone have any idea of an easy way to make a JoyAxisHit() command that will only register the joystick movement once?
Thanks!