From 1d3342fd0952c57a737cf90794f20905bd48d5f1 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Tue, 15 Dec 2015 20:01:50 -0800 Subject: 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. --- io.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'io.h') 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); -- cgit v1.2.3