Fixed a typo in a comment.
This commit is contained in:
parent
f0cc3c2e56
commit
8135173e3f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue