Synchronizes the mouse pointer with the windows mouse position, using
hardware cursor support if available on the 3D card. This results in
smoother mouse movement because the mouse position is updated
several times per frame cycle.
0 = off, 1 = on
var (default = 0)
- The mouse sprite is written into the front buffer instead of the
back buffer, which can result in a frame rate dependent offset
between the real mouse position and mouse_pos.x/y.
When activating mouse_sync, a mouse_map of 32x32 pixels size must be used. The standard Windows mouse cursors are disabled during and after using mouse_sync.
Mouse hotspot offsets (mouse_spot) result in an offset of the mouse cursor in mouse_sync mode.
mouse_sync = 1;