From 41cf7c7a63a2ec2b009f9e22c2e9d650dc76259e Mon Sep 17 00:00:00 2001 From: Joel Linn Date: Wed, 3 Jun 2020 19:32:21 +0200 Subject: [PATCH] [Input] Fix doubling with any enabled. Keystrokes from multiple backends where mixed. Effectively doubling all keystroke inputs. --- src/xenia/hid/input_system.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/hid/input_system.cc b/src/xenia/hid/input_system.cc index a77d5b548..da58e00e1 100644 --- a/src/xenia/hid/input_system.cc +++ b/src/xenia/hid/input_system.cc @@ -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; } }