Function GetMouseSensitivity

From Uzebox Wiki
Jump to: navigation, 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.