Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/joystick/
A DSDL_sysjoystick.h37 SDL_bool has_initial_value; /* Whether we've seen a value on the axis yet */ member
A DSDL_joystick.c458 joystick->axes[i].has_initial_value = SDL_TRUE; in SDL_JoystickOpen()
692 return joystick->axes[axis].has_initial_value; in SDL_JoystickGetAxisInitialState()
1111 if (joystick->axes[i].has_initial_value) { in SDL_PrivateJoystickForceRecentering()
1174 if (!info->has_initial_value || in SDL_PrivateJoystickAxis()
1179 info->has_initial_value = SDL_TRUE; in SDL_PrivateJoystickAxis()

Completed in 6 milliseconds