Don't pass flags to XInputGetKeystroke, as on Windows it's a reserved parameter.
This commit is contained in:
parent
e212a7da1d
commit
34031e57ab
|
@ -101,7 +101,7 @@ X_RESULT XInputInputDriver::GetKeystroke(uint32_t user_index, uint32_t flags,
|
|||
}
|
||||
|
||||
XINPUT_KEYSTROKE native_keystroke;
|
||||
result = XInputGetKeystroke(user_index, flags, &native_keystroke);
|
||||
result = XInputGetKeystroke(user_index, 0, &native_keystroke);
|
||||
if (result) {
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue