GameInput backend for SDL (Gamepad-only for now)

This commit is contained in:
Nikita Krapivin
2024-01-25 01:26:01 +05:00
committed by Sam Lantinga
parent 7ed1f3554d
commit 534f753e20
8 changed files with 674 additions and 3 deletions

View File

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