Function SetMouseSensitivity

From Uzebox Wiki
Jump to: navigation, search
Prototype

bool SetMouseSensitivity(unsigned char value);

Description

The SNES mouse support 3 levels of sensitivity or speed. This function sets the desired sensitivity. Note that the initial speed when the mouse is powered is undefined. So you may want to call this function after activating the mouse.

Parameters
  • value: The new mouse sensitivity.
    • MOUSE_SENSITIVITY_LOW (0b00)
    • MOUSE_SENSITIVITY_MEDIUM (0b10)
    • MOUSE_SENSITIVITY_HIGH (0b01)
Returns

true is the mouse sensitivity has been set. false indicates the setting has failed, see notes.

Video Modes

All

Since

V3

Notes

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