summaryrefslogtreecommitdiff
path: root/io.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2017-01-24 20:53:10 -0800
committerMichael Pavone <pavone@retrodev.com>2017-01-24 20:53:10 -0800
commit2a084b8d3bf5e2aa6ebcdbedcd1d3434c9c7bcfe (patch)
tree0cb8d0778bd0e0ab8d7e0955c11607f3e41b243d /io.h
parent38eaaa95557e06123a042d1b0cb4ac949b734730 (diff)
Make gamepad "semantic" mapping play nice with hotplug support
Diffstat (limited to 'io.h')
-rw-r--r--io.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/io.h b/io.h
index 9d80038..2970066 100644
--- a/io.h
+++ b/io.h
@@ -95,6 +95,7 @@ void handle_keyup(int keycode, uint8_t scancode);
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);
+void handle_joy_added(int joystick);
void handle_mouse_moved(int mouse, uint16_t x, uint16_t y, int16_t deltax, int16_t deltay);
void handle_mousedown(int mouse, int button);
void handle_mouseup(int mouse, int button);