get_joy_events

From ArchaicPixels: HuC and PCEAS Documentation

Jump to: navigation, search

get_joy_events(char num);

get_joy_events(char num, char rst);

     Return all the joypad keypresses for joypad 'num'
     that has happened since this function was last called.
     With this function you can't miss any keypress.
     'rst' tells the function if the keypress events
     will be reset after having being read, by default
     they are reset after each read, but if 'rst'
     is equal to zero events won't be reset.
Personal tools