mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-09 07:22:21 +08:00
Fixed bug in half-duplex keys. Was updating their toggled state
om every release as well as press.
This commit is contained in:
@@ -510,7 +510,6 @@ CKeyState::updateKeyState(KeyButton serverID, KeyButton localID, bool press)
|
||||
// never report half-duplex keys as down
|
||||
if (isHalfDuplex(mask)) {
|
||||
m_keys[localID] &= ~kDown;
|
||||
press = true;
|
||||
}
|
||||
|
||||
// toggle on the press
|
||||
|
||||
Reference in New Issue
Block a user