Searched refs:joystick_index (Results 1 – 3 of 3) sorted by relevance
179 extern DECLSPEC SDL_bool SDLCALL SDL_IsGameController(int joystick_index);186 extern DECLSPEC const char *SDLCALL SDL_GameControllerNameForIndex(int joystick_index);192 extern DECLSPEC SDL_GameControllerType SDLCALL SDL_GameControllerTypeForIndex(int joystick_index);200 extern DECLSPEC char *SDLCALL SDL_GameControllerMappingForDeviceIndex(int joystick_index);211 extern DECLSPEC SDL_GameController *SDLCALL SDL_GameControllerOpen(int joystick_index);
70 ResetAxisRange(SDL_DriverGameCube_Context *ctx, int joystick_index) in ResetAxisRange() argument72 …SDL_memset(&ctx->min_axis[joystick_index*SDL_CONTROLLER_AXIS_MAX], 128-88, SDL_CONTROLLER_AXIS_MAX… in ResetAxisRange()73 …SDL_memset(&ctx->max_axis[joystick_index*SDL_CONTROLLER_AXIS_MAX], 128+88, SDL_CONTROLLER_AXIS_MAX… in ResetAxisRange()76 ctx->min_axis[joystick_index*SDL_CONTROLLER_AXIS_MAX+SDL_CONTROLLER_AXIS_TRIGGERLEFT] = 40; in ResetAxisRange()77 ctx->min_axis[joystick_index*SDL_CONTROLLER_AXIS_MAX+SDL_CONTROLLER_AXIS_TRIGGERRIGHT] = 40; in ResetAxisRange()
1612 SDL_GameControllerTypeForIndex(int joystick_index) in SDL_GameControllerTypeForIndex() argument1614 …ontrollerTypeFromGUID(SDL_JoystickGetDeviceGUID(joystick_index), SDL_JoystickNameForIndex(joystick… in SDL_GameControllerTypeForIndex()1624 SDL_GameControllerMappingForDeviceIndex(int joystick_index) in SDL_GameControllerMappingForDeviceIndex() argument1630 mapping = SDL_PrivateGetControllerMapping(joystick_index); in SDL_GameControllerMappingForDeviceIndex()1635 guid = SDL_JoystickGetDeviceGUID(joystick_index); in SDL_GameControllerMappingForDeviceIndex()
Completed in 12 milliseconds