comparison 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
comparison
equal deleted inserted replaced
1193:0e69409634f3 1194:1ad0ec7e3939
93 void handle_keydown(int keycode, uint8_t scancode); 93 void handle_keydown(int keycode, uint8_t scancode);
94 void handle_keyup(int keycode, uint8_t scancode); 94 void handle_keyup(int keycode, uint8_t scancode);
95 void handle_joydown(int joystick, int button); 95 void handle_joydown(int joystick, int button);
96 void handle_joyup(int joystick, int button); 96 void handle_joyup(int joystick, int button);
97 void handle_joy_dpad(int joystick, int dpad, uint8_t state); 97 void handle_joy_dpad(int joystick, int dpad, uint8_t state);
98 void handle_joy_added(int joystick);
98 void handle_mouse_moved(int mouse, uint16_t x, uint16_t y, int16_t deltax, int16_t deltay); 99 void handle_mouse_moved(int mouse, uint16_t x, uint16_t y, int16_t deltax, int16_t deltay);
99 void handle_mousedown(int mouse, int button); 100 void handle_mousedown(int mouse, int button);
100 void handle_mouseup(int mouse, int button); 101 void handle_mouseup(int mouse, int button);
101 102
102 #endif //IO_H_ 103 #endif //IO_H_