 regKeySettings := "Software\JKLmouse"
 
 ; TODO: protect against invalid registry string
-keysLeft := RegStringRead( "KeysLeft", "ESDF" )
-keysRight := RegStringRead( "KeysRight", "IJKL" )
+accelerate := RegReadValue( "Accelerate", 1 )
+keysLeft := RegReadValue( "KeysLeft", "ESDF" )
+keysRight := RegReadValue( "KeysRight", "IJKL" )
 
 keyMap := ""
 

	Menu, Tray, Uncheck, Right Hand: %keysRight%
	keysRight := keys
	Menu, Tray, Check, Right Hand: %keysRight%
	RegStringWrite( "KeysRight", keysRight )
	ReloadAllKeys()
}


	Menu, Tray, Uncheck, Left Hand: %keysLeft%
	keysLeft := keys
	Menu, Tray, Check, Left Hand: %keysLeft%
	RegWriteString( "KeysLeft", keysLeft )
	ReloadAllKeys()
}

