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

@@ -20,8 +20,6 @@
*/
#include "SDL_internal.h"
#ifndef SDL_JOYSTICK_GAMEINPUT
#include "SDL_xinput.h"
/* Set up for C function definitions, even when using C++ */
@@ -144,5 +142,3 @@ void WIN_UnloadXInputDLL(void)
#ifdef __cplusplus
}
#endif
#endif /* !SDL_JOYSTICK_GAMEINPUT */