Function GetMouseSensitivity

From Uzebox Wiki
Revision as of 19:18, 5 March 2009 by Uze (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Prototype

unsigned char GetMouseSensitivity();

Description

The SNES mouse support 3 levels of sensitivity or speed. This function returns the current sensitivity. Note that the initial speed when the mouse is powered is undefined. So if you want a specific speed, call SetMouseSensitivity() after activating the mouse.

Parameters

None

Returns

Current mouse sensitivity.

  • 0b00 = MOUSE_SENSITIVITY_LOW
  • 0b10 = MOUSE_SENSITIVITY_MEDIUM
  • 0b01 = MOUSE_SENSITIVITY_HIGH
Video Modes

All

Since

V3

Notes

There is a bug in reading/writing mouse sensitivity. Sometimes it takes a long time to complete.