[HID] Make WinKey GetCapabilities return success, fixes CoD4 console
This commit is contained in:
parent
9baeee9b27
commit
0b4834df9d
|
@ -94,7 +94,7 @@ X_STATUS WinKeyInputDriver::Setup(
|
|||
|
||||
X_RESULT WinKeyInputDriver::GetCapabilities(uint32_t user_index, uint32_t flags,
|
||||
X_INPUT_CAPABILITIES* out_caps) {
|
||||
if (user_index != user_index_) {
|
||||
if (!cvars::keyboard_passthru && user_index != user_index_) {
|
||||
return X_ERROR_DEVICE_NOT_CONNECTED;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue