Mercurial > repos > blastem
comparison io.h @ 1207:9d6f155732ed
Basic support for mapping an analog axis to functionality
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 26 Jan 2017 23:49:13 -0800 |
parents | 1ad0ec7e3939 |
children | cf69a179aeaf |
comparison
equal
deleted
inserted
replaced
1206:32265f6b79e9 | 1207:9d6f155732ed |
---|---|
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_axis(int joystick, int axis, int16_t value); | |
98 void handle_joy_added(int joystick); | 99 void handle_joy_added(int joystick); |
99 void handle_mouse_moved(int mouse, uint16_t x, uint16_t y, int16_t deltax, int16_t deltay); | 100 void handle_mouse_moved(int mouse, uint16_t x, uint16_t y, int16_t deltax, int16_t deltay); |
100 void handle_mousedown(int mouse, int button); | 101 void handle_mousedown(int mouse, int button); |
101 void handle_mouseup(int mouse, int button); | 102 void handle_mouseup(int mouse, int button); |
102 | 103 |