mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-22 11:18:14 +00:00
Added Steam Input API support for game controllers
Added support for getting the real controller info, as well as the function SDL_GetGamepadSteamHandle() to get the Steam Input API handle, from the virtual gamepads provided by Steam. Also added an event SDL_EVENT_GAMEPAD_STEAM_HANDLE_UPDATED which is triggered when a controller's API handle changes, e.g. the controllers were reassigned slots in the Steam UI.
This commit is contained in:
@@ -990,3 +990,4 @@
|
||||
#define SDL_SyncWindow SDL_SyncWindow_REAL
|
||||
#define SDL_SetSurfaceScaleMode SDL_SetSurfaceScaleMode_REAL
|
||||
#define SDL_GetSurfaceScaleMode SDL_GetSurfaceScaleMode_REAL
|
||||
#define SDL_GetGamepadSteamHandle SDL_GetGamepadSteamHandle_REAL
|
||||
|
Reference in New Issue
Block a user