[HID] Added drivers filter for GetState

This commit is contained in:
Gliniak
2025-01-04 21:40:08 +01:00
parent d6ed8af4e7
commit 4584794e24
4 changed files with 11 additions and 6 deletions

View File

@@ -1833,7 +1833,8 @@ void EmulatorWindow::GamepadHotKeys() {
for (uint32_t user_index = 0; user_index < XUserMaxUserCount;
++user_index) {
X_RESULT result = input_sys->GetState(user_index, &state);
X_RESULT result = input_sys->GetState(
user_index, X_INPUT_FLAG::X_INPUT_FLAG_GAMEPAD, &state);
// Release the lock before processing the hotkey
input_lock.mutex()->unlock();