SDL_GetJoystickType3
Get the type of an opened joystick.
Usage
#include "SDL3/SDL.h"
SDL_JoystickType SDL_GetJoystickType(SDL_Joystick *joystick);
Header file
Defined in SDL3/SDL_joystick.h
Function parameters
- joystick
-
the
SDL_Joystick
obtained fromSDL_OpenJoystick().
Return value
( SDL_JoystickType ) Returns the
SDL_JoystickType
of the selected joystick.