summaryrefslogtreecommitdiff
path: root/io.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2015-12-15 20:01:50 -0800
committerMichael Pavone <pavone@retrodev.com>2015-12-15 20:01:50 -0800
commit1d3342fd0952c57a737cf90794f20905bd48d5f1 (patch)
treeb0dcc2a9f41f538ddd3581a3d32158a9d7bc0748 /io.h
parent9596af4ac4d0c8dcde83334889f60d6687940b12 (diff)
Initial support for relative mouse mode and skeleton of support for capture mode. Avoid mouse position overflow in absolute mode. Allow absolute mode to be set by ROM DB.
Diffstat (limited to 'io.h')
-rw-r--r--io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.h b/io.h
index 9ec1b4f..c61949f 100644
--- a/io.h
+++ b/io.h
@@ -79,7 +79,7 @@ void handle_keyup(int keycode);
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_mouse_moved(int mouse, uint16_t x, uint16_t y);
+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);
void handle_mouseup(int mouse, int button);