|
SDL
2.0
|
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | ControllerDescription_t |
Macros | |
| #define | MAKE_CONTROLLER_ID(nVID, nPID) (unsigned int)( (unsigned int)nVID << 16 | (unsigned int)nPID ) |
Functions | |
| static SDL_INLINE const char * | GetControllerTypeOverride (int nVID, int nPID) |
| static SDL_INLINE EControllerType | GuessControllerType (int nVID, int nPID) |
| static SDL_INLINE const char * | GuessControllerName (int nVID, int nPID) |
| static SDL_INLINE int | GetDefaultDeadzoneSizeForControllerType (EControllerType eControllerType) |
Variables | |
| static const ControllerDescription_t | arrControllers [] |
| #define MAKE_CONTROLLER_ID | ( | nVID, | |
| nPID | |||
| ) | (unsigned int)( (unsigned int)nVID << 16 | (unsigned int)nPID ) |
Definition at line 65 of file controller_type.h.
| enum EControllerType |
Definition at line 31 of file controller_type.h.
|
static |
Definition at line 570 of file controller_type.h.
References NULL, SDL_GetHint, SDL_HINT_GAMECONTROLLERTYPE, SDL_snprintf, SDL_strlen, SDL_strncmp, and SDL_strstr.
Referenced by GuessControllerType().
|
static |
Definition at line 684 of file controller_type.h.
References k_eControllerType_AndroidController, k_eControllerType_AppleController, k_eControllerType_PS3Controller, k_eControllerType_PS4Controller, k_eControllerType_PS5Controller, k_eControllerType_SteamControllerV2, k_eControllerType_SwitchJoyConLeft, k_eControllerType_SwitchJoyConPair, k_eControllerType_SwitchJoyConRight, k_eControllerType_SwitchProController, k_eControllerType_UnknownNonSteamController, k_eControllerType_XBox360Controller, and k_eControllerType_XBoxOneController.
|
static |
Definition at line 666 of file controller_type.h.
References arrControllers, ControllerDescription_t::m_pszName, MAKE_CONTROLLER_ID, and NULL.
Referenced by SDL_CreateJoystickName().
|
static |
Definition at line 594 of file controller_type.h.
References arrControllers, GetControllerTypeOverride(), i, j, k_eControllerType_PS3Controller, k_eControllerType_PS4Controller, k_eControllerType_PS5Controller, k_eControllerType_SteamController, k_eControllerType_SwitchProController, k_eControllerType_UnknownNonSteamController, k_eControllerType_XBox360Controller, k_eControllerType_XBoxOneController, ControllerDescription_t::m_eControllerType, MAKE_CONTROLLER_ID, and SDL_strncasecmp.
Referenced by SDL_GetJoystickGameControllerType(), SDL_GetJoystickGUIDType(), SDL_IsJoystickNintendoSwitchPro(), SDL_IsJoystickNintendoSwitchProInputOnly(), SDL_IsJoystickPS4(), SDL_IsJoystickPS5(), and SDL_IsJoystickSteamController().
|
static |
Definition at line 73 of file controller_type.h.
Referenced by GuessControllerName(), and GuessControllerType().