KEYMAPPER: Set the default virtual mouse settings
Fixes the 3DS mouse cursor drifting.
This commit is contained in:
parent
dbb2c73a6b
commit
a155061ee4
3 changed files with 6 additions and 3 deletions
|
@ -43,6 +43,9 @@ VirtualMouse::VirtualMouse(EventDispatcher *eventDispatcher) :
|
|||
_subPixelRemainderX(0.f),
|
||||
_subPixelRemainderY(0.f),
|
||||
_lastUpdateMillis(0) {
|
||||
ConfMan.registerDefault("kbdmouse_speed", 3);
|
||||
ConfMan.registerDefault("joystick_deadzone", 3);
|
||||
|
||||
_eventDispatcher->registerSource(this, false);
|
||||
_eventDispatcher->registerObserver(this, 10, false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue