SDL_GetGamepadType

Get the type of an opened gamepad.

extern (C) nothrow @nogc extern
SDL_GetGamepadType

Parameters

gamepad SDL_Gamepad*

the gamepad object to query.

Return Value

the gamepad type, or SDL_GAMEPAD_TYPE_UNKNOWN if it's not available.

See Also

Meta