Mercurial > repos > blastem
diff blastem.h @ 418:dbf4e1c86f3c
Implement basic joystick support
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 23 Jun 2013 22:27:12 -0700 |
parents | c26e48a93fa3 |
children | d0cacb4ade0b |
line wrap: on
line diff
--- a/blastem.h Sun Jun 23 12:27:11 2013 -0700 +++ b/blastem.h Sun Jun 23 22:27:12 2013 -0700 @@ -45,6 +45,9 @@ m68k_context * debugger(m68k_context * context, uint32_t address); void handle_keydown(int keycode); void handle_keyup(int keycode); +void handle_joydown(int joystick, int button); +void handle_joyup(int joystick, int button); +void handle_joy_dpad(int joystick, int dpad, uint8_t state); #endif //BLASTEM_H_