GameInput backend for SDL (Gamepad-only for now)
This commit is contained in:
parent
7ed1f3554d
commit
534f753e20
8 changed files with 674 additions and 3 deletions
|
@ -55,6 +55,9 @@ static SDL_JoystickDriver *SDL_joystick_drivers[] = {
|
|||
#ifdef SDL_JOYSTICK_RAWINPUT /* Before WINDOWS_ driver, as WINDOWS wants to check if this driver is handling things */
|
||||
&SDL_RAWINPUT_JoystickDriver,
|
||||
#endif
|
||||
#ifdef SDL_JOYSTICK_GAMEINPUT /* Before WINDOWS_ driver, as GameInput takes priority over XInputOnGameInput for GDK platforms */
|
||||
&SDL_GAMEINPUT_JoystickDriver,
|
||||
#endif
|
||||
#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,
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue