[HID] Enable Keyboard Passthru
Thanks Adrian for figuring out missing XINPUT_KEYSTROKE_VALIDUNICODE flag. Thanks Clippy95 for figuring out shift and capslock
This commit is contained in:
committed by
Radosław Gliński
parent
2596aef111
commit
f6ae651cc2
@@ -288,7 +288,9 @@ X_RESULT SDLInputDriver::GetKeystroke(uint32_t users, uint32_t flags,
|
||||
if (!out_keystroke) {
|
||||
return X_ERROR_BAD_ARGUMENTS;
|
||||
}
|
||||
|
||||
if ((flags & XINPUT_FLAG_KEYBOARD) != 0) {
|
||||
return X_ERROR_INVALID_PARAMETER;
|
||||
}
|
||||
// The order of this list is also the order in which events are send if
|
||||
// multiple buttons change at once.
|
||||
static_assert(sizeof(X_INPUT_GAMEPAD::buttons) == 2);
|
||||
|
||||
Reference in New Issue
Block a user