mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-21 06:03:52 +00:00
Setting Keyboard[KEY] = false and Mouse[KEY] = false does not cancel the press
This commit is contained in:
parent
370dd89750
commit
540e9ed758
3 changed files with 1 additions and 6 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue