SDL
2.0
|
Go to the source code of this file.
Data Structures | |
struct | ControllerDescription_t |
Macros | |
#define | inline SDL_INLINE |
#define | MAKE_CONTROLLER_ID(nVID, nPID) (unsigned int)( nVID << 16 | nPID ) |
Functions | |
static SDL_bool | BIsSteamController (EControllerType eType) |
static EControllerType | GuessControllerType (int nVID, int nPID) |
Variables | |
static const ControllerDescription_t | arrControllers [] |
#define inline SDL_INLINE |
Definition at line 28 of file controller_type.h.
#define MAKE_CONTROLLER_ID | ( | nVID, | |
nPID | |||
) | (unsigned int)( nVID << 16 | nPID ) |
Definition at line 72 of file controller_type.h.
Referenced by GuessControllerType().
enum EControllerType |
Definition at line 35 of file controller_type.h.
|
inlinestatic |
Definition at line 67 of file controller_type.h.
References k_eControllerType_SteamController, and k_eControllerType_SteamControllerV2.
Referenced by SDL_IsJoystickSteamController().
|
inlinestatic |
Definition at line 410 of file controller_type.h.
References arrControllers, k_eControllerType_UnknownNonSteamController, ControllerDescription_t::m_eControllerType, and MAKE_CONTROLLER_ID.
Referenced by SDL_GetJoystickGUIDType(), SDL_IsJoystickNintendoSwitchPro(), SDL_IsJoystickPS4(), SDL_IsJoystickSteamController(), SDL_IsJoystickXbox360(), and SDL_IsJoystickXboxOne().
|
static |
Definition at line 79 of file controller_type.h.
Referenced by GuessControllerType().