Lines Matching refs:buttons
139 /* These buttons are part of the original MFi spec */
148 /* These buttons are available on some newer controllers */
196 /* These buttons are part of the original MFi spec */
652 Uint8 buttons[joystick->nbuttons];
655 /* These buttons are part of the original MFi spec */
656 buttons[button_count++] = gamepad.buttonA.isPressed;
657 buttons[button_count++] = gamepad.buttonB.isPressed;
658 buttons[button_count++] = gamepad.buttonX.isPressed;
659 buttons[button_count++] = gamepad.buttonY.isPressed;
660 buttons[button_count++] = gamepad.leftShoulder.isPressed;
661 buttons[button_count++] = gamepad.rightShoulder.isPressed;
663 /* These buttons are available on some newer controllers */
667 buttons[button_count++] = gamepad.leftThumbstickButton.isPressed;
670 buttons[button_count++] = gamepad.rightThumbstickButton.isPressed;
673 buttons[button_count++] = gamepad.buttonOptions.isPressed;
679 buttons[button_count++] = joystick->delayed_guide_button;
681 buttons[button_count++] = gamepad.buttonMenu.isPressed;
693 SDL_PrivateJoystickButton(joystick, i, buttons[i]);
699 Uint8 buttons[joystick->nbuttons];
701 buttons[button_count++] = gamepad.buttonA.isPressed;
702 buttons[button_count++] = gamepad.buttonB.isPressed;
703 buttons[button_count++] = gamepad.buttonX.isPressed;
704 buttons[button_count++] = gamepad.buttonY.isPressed;
705 buttons[button_count++] = gamepad.leftShoulder.isPressed;
706 buttons[button_count++] = gamepad.rightShoulder.isPressed;
708 buttons[button_count++] = joystick->delayed_guide_button;
713 SDL_PrivateJoystickButton(joystick, i, buttons[i]);
729 Uint8 buttons[joystick->nbuttons];
731 buttons[button_count++] = gamepad.buttonA.isPressed;
732 buttons[button_count++] = gamepad.buttonX.isPressed;
739 buttons[button_count++] = joystick->delayed_guide_button;
741 buttons[button_count++] = gamepad.buttonMenu.isPressed;
747 SDL_PrivateJoystickButton(joystick, i, buttons[i]);