summaryrefslogtreecommitdiff
path: root/io.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2017-01-26 23:49:13 -0800
committerMichael Pavone <pavone@retrodev.com>2017-01-26 23:49:13 -0800
commite158566bc5b3949a1bfebfa7cf32ed29b1005283 (patch)
tree54e7486744a9e12f4e747c6159216b7e5187997b /io.h
parented9a55d91bfd025e8384fee4684fb58e29284bc5 (diff)
Basic support for mapping an analog axis to functionality
Diffstat (limited to 'io.h')
-rw-r--r--io.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/io.h b/io.h
index 2970066..8d5b04c 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_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);