Searched refs:SDL_JOYSTICK_AXIS_MAX (Results 1 – 6 of 6) sorted by relevance
197 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()
346 #define SDL_JOYSTICK_AXIS_MAX 32767 macro
598 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()
1175 …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()
264 … (float) (SDL_JOYSTICK_AXIS_MAX - SDL_JOYSTICK_AXIS_MIN) / (axis_max[i] - axis_min[i]); in SDL_SYS_JoystickOpen()
38 #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