From e158566bc5b3949a1bfebfa7cf32ed29b1005283 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Thu, 26 Jan 2017 23:49:13 -0800 Subject: Basic support for mapping an analog axis to functionality --- io.h | 1 + 1 file changed, 1 insertion(+) (limited to 'io.h') 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); -- cgit v1.2.3