mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-13 01:45:45 +00:00
Fixed a typo in a comment.
This commit is contained in:
parent
bafa4c7ae8
commit
7fa4eece25
1 changed files with 1 additions and 1 deletions
|
|
@ -782,7 +782,7 @@ EnumXInputDevices(JoyStick_DeviceData **pContext)
|
|||
XINPUT_CAPABILITIES capabilities;
|
||||
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. */
|
||||
/* !!! 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) {
|
||||
AddXInputDevice(userid, pContext);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue