SDL_GetGamepadStringForType - Convert from an SDL_GamepadType
Contents
Availability
This function is available since SDL 3.2.0.
Function Parameters
type an enum value for a given SDL_GamepadType .
Header File
Defined in SDL3/SDL_gamepad.h
Name
SDL_GetGamepadStringForType - Convert from an SDL_GamepadType
enum to a string.
Return Value
Returns a string for the given type, or NULL if an invalid type is specified. The string returned is of
the format used by
SDL_Gamepad
mapping strings.
See Also
•(3), SDL_GetGamepadTypeFromString(3) Simple Directmedia Layer SDL 3.2.10 SDL_GetGamepadStringForType(3)
Synopsis
#include"SDL3/SDL.h"constchar*SDL_GetGamepadStringForType(SDL_GamepadTypetype);
