[Input] Fix doubling with any enabled.
Keystrokes from multiple backends where mixed. Effectively doubling all keystroke inputs.
This commit is contained in:
parent
993393a939
commit
41cf7c7a63
|
@ -86,7 +86,7 @@ X_RESULT InputSystem::GetKeystroke(uint32_t user_index, uint32_t flags,
|
|||
if (result != X_ERROR_DEVICE_NOT_CONNECTED) {
|
||||
any_connected = true;
|
||||
}
|
||||
if (result == X_ERROR_SUCCESS) {
|
||||
if (result == X_ERROR_SUCCESS || result == X_ERROR_EMPTY) {
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue