Added the option for GameInput support to the Win32 SDL build

GameInput is designed to be used by Win32 C applications, so no need to restrict it to the GDK build.
This commit is contained in:
Sam Lantinga
2024-02-17 14:07:42 -08:00
parent 534f753e20
commit fee140bdfe
8 changed files with 90 additions and 80 deletions

View File

@@ -238,6 +238,7 @@ typedef unsigned int uintptr_t;
/* Enable various input drivers */
#define SDL_JOYSTICK_DINPUT 1
/*#define SDL_JOYSTICK_GAMEINPUT 1*/
#define SDL_JOYSTICK_HIDAPI 1
#ifndef SDL_PLATFORM_WINRT
#define SDL_JOYSTICK_RAWINPUT 1