mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-25 19:55:37 +00:00
Fixed a typo in a comment.
This commit is contained in:
parent
bafa4c7ae8
commit
7fa4eece25
|
@ -782,7 +782,7 @@ EnumXInputDevices(JoyStick_DeviceData **pContext)
|
||||||
XINPUT_CAPABILITIES capabilities;
|
XINPUT_CAPABILITIES capabilities;
|
||||||
if (XINPUTGETCAPABILITIES(userid, XINPUT_FLAG_GAMEPAD, &capabilities) == ERROR_SUCCESS) {
|
if (XINPUTGETCAPABILITIES(userid, XINPUT_FLAG_GAMEPAD, &capabilities) == ERROR_SUCCESS) {
|
||||||
/* Current version of XInput mistakenly returns 0 as the Type. Ignore it and ensure the subtype is a gamepad. */
|
/* Current version of XInput mistakenly returns 0 as the Type. Ignore it and ensure the subtype is a gamepad. */
|
||||||
/* !!! FIXME: we might want to support steering wheels or guitars or whatever laster. */
|
/* !!! FIXME: we might want to support steering wheels or guitars or whatever later. */
|
||||||
if (capabilities.SubType == XINPUT_DEVSUBTYPE_GAMEPAD) {
|
if (capabilities.SubType == XINPUT_DEVSUBTYPE_GAMEPAD) {
|
||||||
AddXInputDevice(userid, pContext);
|
AddXInputDevice(userid, pContext);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue