From 3e393ab13479761a48120db84890c96c6ff5bed9 Mon Sep 17 00:00:00 2001 From: Mike Pavone Date: Sun, 23 Jun 2013 22:27:12 -0700 Subject: Implement basic joystick support --- blastem.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'blastem.h') 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_ -- cgit v1.2.3