Home
last modified time | relevance | path

Searched refs:joystick_index (Results 1 – 3 of 3) sorted by relevance

/AliOS-Things-master/components/SDL2/include/
A DSDL_gamecontroller.h179 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);
/AliOS-Things-master/components/SDL2/src/joystick/hidapi/
A DSDL_hidapi_gamecube.c70 ResetAxisRange(SDL_DriverGameCube_Context *ctx, int joystick_index) in ResetAxisRange() argument
72 …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()
/AliOS-Things-master/components/SDL2/src/joystick/
A DSDL_gamecontroller.c1612 SDL_GameControllerTypeForIndex(int joystick_index) in SDL_GameControllerTypeForIndex() argument
1614 …ontrollerTypeFromGUID(SDL_JoystickGetDeviceGUID(joystick_index), SDL_JoystickNameForIndex(joystick… in SDL_GameControllerTypeForIndex()
1624 SDL_GameControllerMappingForDeviceIndex(int joystick_index) in SDL_GameControllerMappingForDeviceIndex() argument
1630 mapping = SDL_PrivateGetControllerMapping(joystick_index); in SDL_GameControllerMappingForDeviceIndex()
1635 guid = SDL_JoystickGetDeviceGUID(joystick_index); in SDL_GameControllerMappingForDeviceIndex()

Completed in 12 milliseconds