diff io.h @ 1194:1ad0ec7e3939

Make gamepad "semantic" mapping play nice with hotplug support
author Michael Pavone <pavone@retrodev.com>
date Tue, 24 Jan 2017 20:53:10 -0800
parents 3e24de8d8073
children 9d6f155732ed
line wrap: on
line diff
--- a/io.h	Tue Jan 24 18:53:55 2017 -0800
+++ b/io.h	Tue Jan 24 20:53:10 2017 -0800
@@ -95,6 +95,7 @@
 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);