KEYMAPPER: Set the default virtual mouse settings

Fixes the 3DS mouse cursor drifting.
This commit is contained in:
Bastien Bouclet 2020-03-11 06:07:17 +01:00
parent dbb2c73a6b
commit a155061ee4
3 changed files with 6 additions and 3 deletions

View file

@ -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);
}