mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 15:35:34 +00:00
Fixes keyboard being recognized as 2 HID devices
This commit is contained in:
parent
8488bb6229
commit
b29bc2f534
|
@ -261,7 +261,7 @@ namespace OpenTK.Platform.Windows
|
|||
|
||||
// This is a new device, query its capabilities and add it
|
||||
// to the device list
|
||||
if (!QueryDeviceCaps(device))
|
||||
if (!QueryDeviceCaps(device) && !is_xinput)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
@ -611,6 +611,8 @@ namespace OpenTK.Platform.Windows
|
|||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
return false;
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue