Open athairus opened 8 years ago
We will need to figure out how to trap the mouse and display our own cursor as the Libretro API expects relative moves.
We will have to extend PhoenixWindow to report/emit mouse wheel events.
PhoenixWindow
#define RETRO_DEVICE_ID_MOUSE_X 0 #define RETRO_DEVICE_ID_MOUSE_Y 1 #define RETRO_DEVICE_ID_MOUSE_LEFT 2 #define RETRO_DEVICE_ID_MOUSE_RIGHT 3 #define RETRO_DEVICE_ID_MOUSE_WHEELUP 4 #define RETRO_DEVICE_ID_MOUSE_WHEELDOWN 5 #define RETRO_DEVICE_ID_MOUSE_MIDDLE 6 #define RETRO_DEVICE_ID_MOUSE_HORIZ_WHEELUP 7 #define RETRO_DEVICE_ID_MOUSE_HORIZ_WHEELDOWN 8
We will need to figure out how to trap the mouse and display our own cursor as the Libretro API expects relative moves.
We will have to extend
PhoenixWindow
to report/emit mouse wheel events.