Don't pass flags to XInputGetKeystroke, as on Windows it's a reserved parameter.

This commit is contained in:
gibbed 2015-07-26 09:30:06 -05:00
parent e212a7da1d
commit 34031e57ab
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ X_RESULT XInputInputDriver::GetKeystroke(uint32_t user_index, uint32_t flags,
} }
XINPUT_KEYSTROKE native_keystroke; XINPUT_KEYSTROKE native_keystroke;
result = XInputGetKeystroke(user_index, flags, &native_keystroke); result = XInputGetKeystroke(user_index, 0, &native_keystroke);
if (result) { if (result) {
return result; return result;
} }