diff options
author | Michael Pavone <pavone@retrodev.com> | 2017-01-26 23:49:13 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2017-01-26 23:49:13 -0800 |
commit | e158566bc5b3949a1bfebfa7cf32ed29b1005283 (patch) | |
tree | 54e7486744a9e12f4e747c6159216b7e5187997b /io.h | |
parent | ed9a55d91bfd025e8384fee4684fb58e29284bc5 (diff) |
Basic support for mapping an analog axis to functionality
Diffstat (limited to 'io.h')
-rw-r--r-- | io.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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_axis(int joystick, int axis, int16_t value); 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); |