mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-31 05:56:24 +08:00
Clarified why the WGI driver is lower than the WINDOWS driver
This commit is contained in:
@@ -58,10 +58,10 @@ static SDL_JoystickDriver *SDL_joystick_drivers[] = {
|
|||||||
#ifdef SDL_JOYSTICK_RAWINPUT
|
#ifdef SDL_JOYSTICK_RAWINPUT
|
||||||
&SDL_RAWINPUT_JoystickDriver,
|
&SDL_RAWINPUT_JoystickDriver,
|
||||||
#endif
|
#endif
|
||||||
#if defined(SDL_JOYSTICK_DINPUT) || defined(SDL_JOYSTICK_XINPUT)
|
#if defined(SDL_JOYSTICK_DINPUT) || defined(SDL_JOYSTICK_XINPUT) // Before WGI driver, as WGI wants to check if this driver is handling things
|
||||||
&SDL_WINDOWS_JoystickDriver,
|
&SDL_WINDOWS_JoystickDriver,
|
||||||
#endif
|
#endif
|
||||||
#ifdef SDL_JOYSTICK_WGI // Lower priority than other Windows drivers
|
#ifdef SDL_JOYSTICK_WGI
|
||||||
&SDL_WGI_JoystickDriver,
|
&SDL_WGI_JoystickDriver,
|
||||||
#endif
|
#endif
|
||||||
#ifdef SDL_JOYSTICK_WINMM
|
#ifdef SDL_JOYSTICK_WINMM
|
||||||
|
|||||||
Reference in New Issue
Block a user