mouse_sync
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.
Range:
0 = off, 1 = on
Type:
var (default = 0)
Remarks:
- 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.
Example:
mouse_sync = 1;
See also:
mouse_valid,
mouse_map, mouse_spot
► latest
version online