1
0
mirror of https://github.com/simh/simh.git synced 2026-04-28 20:57:26 +00:00

VIDEO: Change the SDL mouse position in window to reflect the simulated mouse position.

This commit is contained in:
Mark Pizzolato
2015-01-14 15:19:03 -08:00
parent e0108b52a2
commit ad6dd02f18
3 changed files with 27 additions and 27 deletions

View File

@@ -190,6 +190,8 @@ extern int32 vid_mouse_yrel; /* mouse cumulative y re
extern t_bool vid_mouse_b1; /* mouse button 1 state */
extern t_bool vid_mouse_b2; /* mouse button 2 state */
extern t_bool vid_mouse_b3; /* mouse button 3 state */
extern int32 vid_cursor_x; /* cursor x position (set by calling code) */
extern int32 vid_cursor_y; /* cursor y position (set by calling code) */
#define SIM_VID_DBG_MOUSE 0x01000000
#define SIM_VID_DBG_KEY 0x02000000