SDL_GetRealGamepadTypeForID - Get the type of a gamepad, ignoring any mapping override.
Contents
Availability
This function is available since SDL 3.2.0.
Description
This can be called before any gamepads are opened.
Function Parameters
instance_id
the joystick instance ID.
Header File
Defined in SDL3/SDL_gamepad.h
Name
SDL_GetRealGamepadTypeForID - Get the type of a gamepad, ignoring any mapping override.
Return Value
( SDL_GamepadType ) Returns the gamepad type.
See Also
•(3), SDL_GetGamepadTypeForID(3), •(3), SDL_GetGamepads(3), •(3), SDL_GetRealGamepadType(3) Simple Directmedia Layer SDL 3.2.10 SDL_GetRealGamepadTypeForID(3)
Synopsis
#include"SDL3/SDL.h"SDL_GamepadTypeSDL_GetRealGamepadTypeForID(SDL_JoystickIDinstance_id);
