mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-13 06:48:13 +00:00
Automatically assign player indexes to game controllers, and allow changing the player index for game controllers and joysticks.
Added the functions SDL_JoystickFromPlayerIndex(), SDL_JoystickSetPlayerIndex(), SDL_GameControllerFromPlayerIndex(), and SDL_GameControllerSetPlayerIndex()
This commit is contained in:
@@ -733,3 +733,7 @@
|
||||
#define SDL_wcsncmp SDL_wcsncmp_REAL
|
||||
#define SDL_GameControllerTypeForIndex SDL_GameControllerTypeForIndex_REAL
|
||||
#define SDL_GameControllerGetType SDL_GameControllerGetType_REAL
|
||||
#define SDL_GameControllerFromPlayerIndex SDL_GameControllerFromPlayerIndex_REAL
|
||||
#define SDL_GameControllerSetPlayerIndex SDL_GameControllerSetPlayerIndex_REAL
|
||||
#define SDL_JoystickFromPlayerIndex SDL_JoystickFromPlayerIndex_REAL
|
||||
#define SDL_JoystickSetPlayerIndex SDL_JoystickSetPlayerIndex_REAL
|
||||
|
Reference in New Issue
Block a user