Fixed bug in half-duplex keys. Was updating their toggled state
om every release as well as press.
This commit is contained in:
parent
91acd26d93
commit
3f7f946ab0
|
@ -510,7 +510,6 @@ CKeyState::updateKeyState(KeyButton serverID, KeyButton localID, bool press)
|
||||||
// never report half-duplex keys as down
|
// never report half-duplex keys as down
|
||||||
if (isHalfDuplex(mask)) {
|
if (isHalfDuplex(mask)) {
|
||||||
m_keys[localID] &= ~kDown;
|
m_keys[localID] &= ~kDown;
|
||||||
press = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// toggle on the press
|
// toggle on the press
|
||||||
|
|
Loading…
Reference in New Issue