Home
last modified time | relevance | path

Searched refs:MAX_ALLOWED_JITTER (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/SDL2/test/
A Dcontrollermap.c460 … const int MAX_ALLOWED_JITTER = SDL_JOYSTICK_AXIS_MAX / 80; /* ShanWan PS3 controller needed 96 */ in WatchJoystick() local
470 } else if (SDL_abs(nValue - pAxisState->m_nLastValue) <= MAX_ALLOWED_JITTER) { in WatchJoystick()
/AliOS-Things-master/components/SDL2/src/joystick/
A DSDL_joystick.c1187 … const int MAX_ALLOWED_JITTER = SDL_JOYSTICK_AXIS_MAX / 80; /* ShanWan PS3 controller needed 96 */ in SDL_PrivateJoystickAxis() local
1188 if (SDL_abs(value - info->value) <= MAX_ALLOWED_JITTER) { in SDL_PrivateJoystickAxis()

Completed in 9 milliseconds