From 2a084b8d3bf5e2aa6ebcdbedcd1d3434c9c7bcfe Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Tue, 24 Jan 2017 20:53:10 -0800 Subject: Make gamepad "semantic" mapping play nice with hotplug support --- io.h | 1 + 1 file changed, 1 insertion(+) (limited to 'io.h') 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); -- cgit v1.2.3