Home
last modified time | relevance | path

Searched refs:SDL_JOYSTICK_AXIS_MAX (Results 1 – 6 of 6) sorted by relevance

/AliOS-Things-master/components/SDL2/test/
A Dcontrollermap.c197 if (nValue > SDL_JOYSTICK_AXIS_MAX/2) { in StandardizeAxisValue()
198 return SDL_JOYSTICK_AXIS_MAX; in StandardizeAxisValue()
460 … const int MAX_ALLOWED_JITTER = SDL_JOYSTICK_AXIS_MAX / 80; /* ShanWan PS3 controller needed 96 */ in WatchJoystick()
668 …if (pBinding->value.axis.axis_min == 0 && pBinding->value.axis.axis_max == SDL_JOYSTICK_AXIS_MAX) { in WatchJoystick()
/AliOS-Things-master/components/SDL2/include/
A DSDL_joystick.h346 #define SDL_JOYSTICK_AXIS_MAX 32767 macro
/AliOS-Things-master/components/SDL2/src/joystick/
A DSDL_gamecontroller.c598 bind.output.axis.axis_max = SDL_JOYSTICK_AXIS_MAX; in SDL_PrivateGameControllerParseElement()
602 bind.output.axis.axis_max = SDL_JOYSTICK_AXIS_MAX; in SDL_PrivateGameControllerParseElement()
608 bind.output.axis.axis_max = SDL_JOYSTICK_AXIS_MAX; in SDL_PrivateGameControllerParseElement()
631 bind.input.axis.axis_max = SDL_JOYSTICK_AXIS_MAX; in SDL_PrivateGameControllerParseElement()
637 bind.input.axis.axis_max = SDL_JOYSTICK_AXIS_MAX; in SDL_PrivateGameControllerParseElement()
A DSDL_joystick.c1175 …alue <= -32767 || info->initial_value == 32767) && SDL_abs(value) < (SDL_JOYSTICK_AXIS_MAX / 4))) { in SDL_PrivateJoystickAxis()
1187 … const int MAX_ALLOWED_JITTER = SDL_JOYSTICK_AXIS_MAX / 80; /* ShanWan PS3 controller needed 96 */ in SDL_PrivateJoystickAxis()
/AliOS-Things-master/components/SDL2/src/joystick/windows/
A DSDL_mmjoystick.c264 … (float) (SDL_JOYSTICK_AXIS_MAX - SDL_JOYSTICK_AXIS_MIN) / (axis_max[i] - axis_min[i]); in SDL_SYS_JoystickOpen()
A DSDL_dinputjoystick.c38 #define JOY_AXIS_THRESHOLD (((SDL_JOYSTICK_AXIS_MAX)-(SDL_JOYSTICK_AXIS_MIN))/100) /* 1% motion …
785 diprg.lMax = SDL_JOYSTICK_AXIS_MAX; in EnumDevObjectsCallback()

Completed in 16 milliseconds