diff options
author | Mike Pavone <pavone@retrodev.com> | 2013-06-23 22:27:12 -0700 |
---|---|---|
committer | Mike Pavone <pavone@retrodev.com> | 2013-06-23 22:27:12 -0700 |
commit | 3e393ab13479761a48120db84890c96c6ff5bed9 (patch) | |
tree | 3cc44beaa971aa2c00dea25b9ad42eac96475c90 /blastem.h | |
parent | 787f48aff2ba81c92b0fb1970f6fbacb43ba10d2 (diff) |
Implement basic joystick support
Diffstat (limited to 'blastem.h')
-rw-r--r-- | blastem.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -45,6 +45,9 @@ uint16_t read_dma_value(uint32_t address); 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_ |