Searched refs:has_initial_value (Results 1 – 2 of 2) sorted by relevance
37 SDL_bool has_initial_value; /* Whether we've seen a value on the axis yet */ member
458 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