mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-02-03 22:24:22 +01:00
Setting Keyboard[KEY] = false and Mouse[KEY] = false does not cancel the press
This commit is contained in:
parent
370dd89750
commit
540e9ed758
|
|
@ -31,3 +31,4 @@ It does help this project on being supported.
|
|||
- Fix delay in X360Rumble: Do not send repeated haptic if disabled
|
||||
- Fix `AccessDenied` in Steam Detection
|
||||
- Properly apply X360 mappings for Back Panel keys
|
||||
- Setting `Keyboard[KEY] = false` and `Mouse[KEY] = false` does not cancel the press
|
||||
|
|
|
|||
|
|
@ -36,10 +36,6 @@ namespace SteamController.Devices
|
|||
var keyRepeat = lastKeyCodes.GetValueOrDefault(button) ?? new KeyRepeats(DateTime.Now.Add(FirstRepeat), 0);
|
||||
keyCodes.Add(button, keyRepeat);
|
||||
}
|
||||
else
|
||||
{
|
||||
keyCodes.Remove(button);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -65,8 +65,6 @@ namespace SteamController.Devices
|
|||
{
|
||||
if (value)
|
||||
mouseButtons.Add(button);
|
||||
else
|
||||
mouseButtons.Remove(button);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue