comparison io.h @ 915:9e882eca717e

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.
author Michael Pavone <pavone@retrodev.com>
date Tue, 15 Dec 2015 20:01:50 -0800
parents a5a51465f8b0
children e28f365605da
comparison
equal deleted inserted replaced
914:28ec32e720b2 915:9e882eca717e
77 void handle_keydown(int keycode); 77 void handle_keydown(int keycode);
78 void handle_keyup(int keycode); 78 void handle_keyup(int keycode);
79 void handle_joydown(int joystick, int button); 79 void handle_joydown(int joystick, int button);
80 void handle_joyup(int joystick, int button); 80 void handle_joyup(int joystick, int button);
81 void handle_joy_dpad(int joystick, int dpad, uint8_t state); 81 void handle_joy_dpad(int joystick, int dpad, uint8_t state);
82 void handle_mouse_moved(int mouse, uint16_t x, uint16_t y); 82 void handle_mouse_moved(int mouse, uint16_t x, uint16_t y, int16_t deltax, int16_t deltay);
83 void handle_mousedown(int mouse, int button); 83 void handle_mousedown(int mouse, int button);
84 void handle_mouseup(int mouse, int button); 84 void handle_mouseup(int mouse, int button);
85 85
86 #endif //IO_H_ 86 #endif //IO_H_
87 87