Lines Matching refs:button

58         int button;  member
76 SDL_GameControllerButton button; member
197 …ontrollerButton(SDL_GameController * gamecontroller, SDL_GameControllerButton button, Uint8 state);
238 return (a->output.button == b->output.button); in HasSameOutput()
247 SDL_PrivateGameControllerButton(gamecontroller, bind->output.button, SDL_RELEASED); in ResetOutput()
297 SDL_PrivateGameControllerButton(gamecontroller, match->output.button, state); in HandleJoystickAxis()
303 static void HandleJoystickButton(SDL_GameController *gamecontroller, int button, Uint8 state) in HandleJoystickButton() argument
310 button == binding->input.button) { in HandleJoystickButton()
315 SDL_PrivateGameControllerButton(gamecontroller, binding->output.button, state); in HandleJoystickButton()
336 … SDL_PrivateGameControllerButton(gamecontroller, binding->output.button, SDL_PRESSED); in HandleJoystickHat()
356 SDL_GameControllerButton button; in RecenterGameController() local
359 for (button = (SDL_GameControllerButton) 0; button < SDL_CONTROLLER_BUTTON_MAX; button++) { in RecenterGameController()
360 if (SDL_GameControllerGetButton(gamecontroller, button)) { in RecenterGameController()
361 SDL_PrivateGameControllerButton(gamecontroller, button, SDL_RELEASED); in RecenterGameController()
397 … HandleJoystickButton(controllerlist, event->jbutton.button, event->jbutton.state); in SDL_GameControllerEventWatcher()
581 SDL_GameControllerButton button; in SDL_PrivateGameControllerParseElement() local
592 button = SDL_GameControllerGetButtonFromString(szGameButton); in SDL_PrivateGameControllerParseElement()
611 } else if (button != SDL_CONTROLLER_BUTTON_INVALID) { in SDL_PrivateGameControllerParseElement()
613 bind.output.button = button; in SDL_PrivateGameControllerParseElement()
646 bind.input.button = SDL_atoi(&szJoystickButton[1]); in SDL_PrivateGameControllerParseElement()
1870 value = SDL_JoystickGetButton(gamecontroller->joystick, binding->input.button); in SDL_GameControllerGetAxis()
1899 SDL_GameControllerGetButton(SDL_GameController * gamecontroller, SDL_GameControllerButton button) in SDL_GameControllerGetButton() argument
1908 … if (binding->outputType == SDL_CONTROLLER_BINDTYPE_BUTTON && binding->output.button == button) { in SDL_GameControllerGetButton()
1926 return SDL_JoystickGetButton(gamecontroller->joystick, binding->input.button); in SDL_GameControllerGetButton()
2068 bind.value.button = binding->input.button; in SDL_GameControllerGetBindForAxis()
2083 …ameControllerGetBindForButton(SDL_GameController * gamecontroller, SDL_GameControllerButton button) in SDL_GameControllerGetBindForButton() argument
2089 if (!gamecontroller || button == SDL_CONTROLLER_BUTTON_INVALID) in SDL_GameControllerGetBindForButton()
2094 … if (binding->outputType == SDL_CONTROLLER_BINDTYPE_BUTTON && binding->output.button == button) { in SDL_GameControllerGetBindForButton()
2099 bind.value.button = binding->input.button; in SDL_GameControllerGetBindForButton()
2232 …ControllerButton(SDL_GameController * gamecontroller, SDL_GameControllerButton button, Uint8 state) in SDL_PrivateGameControllerButton() argument
2238 if (button == SDL_CONTROLLER_BUTTON_INVALID) in SDL_PrivateGameControllerButton()
2254 if (button == SDL_CONTROLLER_BUTTON_GUIDE) { in SDL_PrivateGameControllerButton()
2277 event.cbutton.button = button; in SDL_PrivateGameControllerButton()