summaryrefslogtreecommitdiff
path: root/blastem.h
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2013-06-23 22:27:12 -0700
committerMike Pavone <pavone@retrodev.com>2013-06-23 22:27:12 -0700
commit3e393ab13479761a48120db84890c96c6ff5bed9 (patch)
tree3cc44beaa971aa2c00dea25b9ad42eac96475c90 /blastem.h
parent787f48aff2ba81c92b0fb1970f6fbacb43ba10d2 (diff)
Implement basic joystick support
Diffstat (limited to 'blastem.h')
-rw-r--r--blastem.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/blastem.h b/blastem.h
index fce42a4..3688ea9 100644
--- a/blastem.h
+++ b/blastem.h
@@ -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_