History

add docs

Spencer Salazars committed 3 years ago

Commit 7bf71111 parent 9ad68ff1 file · +1 −1Browse files

Showing the changes to src/core/util_hid.cpp (1 of 1 file). Show all

Unified · Split

src/core/util_hid.cpp+1−1
@@ -5018,7 +5018,7 @@ void Joystick_init() · 5017 unmodified lines
5018 if( lpdi->EnumDevices( DIDEVTYPE_JOYSTICK, DIEnumJoystickProc,5018 if( lpdi->EnumDevices( DIDEVTYPE_JOYSTICK, DIEnumJoystickProc,
5019#else5019#else
5020 // fix 1.5.0.1 (Spencer 2023): use DI8DEVCLASS_GAMECTRL instead of DI8DEVTYPE_JOYSTICK5020 // fix 1.5.0.1 (Spencer 2023): use DI8DEVCLASS_GAMECTRL instead of DI8DEVTYPE_JOYSTICK
5021 // cf. EnumDevices documentation5021 // cf. EnumDevices documentation https://learn.microsoft.com/en-us/previous-versions/windows/desktop/ee417804(v=vs.85)
5022 // this seems to fix joystick usage in general, but Xbox One controller still fails5022 // this seems to fix joystick usage in general, but Xbox One controller still fails
5023 //if (lpdi->EnumDevices(DI8DEVTYPE_JOYSTICK, DIEnumJoystickProc,5023 //if (lpdi->EnumDevices(DI8DEVTYPE_JOYSTICK, DIEnumJoystickProc,
5024 if( lpdi->EnumDevices( DI8DEVCLASS_GAMECTRL, DIEnumJoystickProc,5024 if( lpdi->EnumDevices( DI8DEVCLASS_GAMECTRL, DIEnumJoystickProc,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t