JoystickList Enumeration |
[Missing <summary> documentation for "T:Godot.JoystickList"]
Namespace: Godot
public enum JoystickList
| Member name | Value | Description | |
|---|---|---|---|
| InvalidOption | -1 | Invalid button or axis. | |
| Button0 | 0 | Gamepad button 0. | |
| Button1 | 1 | Gamepad button 1. | |
| Button2 | 2 | Gamepad button 2. | |
| Button3 | 3 | Gamepad button 3. | |
| Button4 | 4 | Gamepad button 4. | |
| Button5 | 5 | Gamepad button 5. | |
| Button6 | 6 | Gamepad button 6. | |
| Button7 | 7 | Gamepad button 7. | |
| Button8 | 8 | Gamepad button 8. | |
| Button9 | 9 | Gamepad button 9. | |
| Button10 | 10 | Gamepad button 10. | |
| Button11 | 11 | Gamepad button 11. | |
| Button12 | 12 | Gamepad button 12. | |
| Button13 | 13 | Gamepad button 13. | |
| Button14 | 14 | Gamepad button 14. | |
| Button15 | 15 | Gamepad button 15. | |
| Button16 | 16 | Gamepad button 16. | |
| Button17 | 17 | Gamepad button 17. | |
| Button18 | 18 | Gamepad button 18. | |
| Button19 | 19 | Gamepad button 19. | |
| Button20 | 20 | Gamepad button 20. | |
| Button21 | 21 | Gamepad button 21. | |
| ButtonMax | 22 | Represents the maximum number of joystick buttons supported. | |
| SonyCircle | 1 | DualShock circle button. | |
| SonyX | 0 | DualShock X button. | |
| SonySquare | 2 | DualShock square button. | |
| SonyTriangle | 3 | DualShock triangle button. | |
| XboxB | 1 | Xbox controller B button. | |
| XboxA | 0 | Xbox controller A button. | |
| XboxX | 2 | Xbox controller X button. | |
| XboxY | 3 | Xbox controller Y button. | |
| DsA | 1 | Nintendo controller A button. | |
| DsB | 0 | Nintendo controller B button. | |
| DsX | 3 | Nintendo controller X button. | |
| DsY | 2 | Nintendo controller Y button. | |
| VrGrip | 2 | Grip (side) buttons on a VR controller. | |
| VrPad | 14 | Push down on the touchpad or main joystick on a VR controller. | |
| VrTrigger | 15 | Trigger on a VR controller. | |
| OculusAx | 7 | A button on the right Oculus Touch controller, X button on the left controller (also when used in OpenVR). | |
| OculusBy | 1 | B button on the right Oculus Touch controller, Y button on the left controller (also when used in OpenVR). | |
| OculusMenu | 3 | Menu button on either Oculus Touch controller. | |
| OpenvrMenu | 1 | Menu button in OpenVR (Except when Oculus Touch controllers are used). | |
| Select | 10 | Gamepad button Select. | |
| Start | 11 | Gamepad button Start. | |
| DpadUp | 12 | Gamepad DPad up. | |
| DpadDown | 13 | Gamepad DPad down. | |
| DpadLeft | 14 | Gamepad DPad left. | |
| DpadRight | 15 | Gamepad DPad right. | |
| Misc1 | 16 | Gamepad SDL miscellaneous button. | |
| Paddle1 | 17 | Gamepad SDL paddle 1 button. | |
| Paddle2 | 18 | Gamepad SDL paddle 2 button. | |
| Paddle3 | 19 | Gamepad SDL paddle 3 button. | |
| Paddle4 | 20 | Gamepad SDL paddle 4 button. | |
| Touchpad | 21 | Gamepad SDL touchpad button. | |
| L | 4 | Gamepad left Shoulder button. | |
| L2 | 6 | Gamepad left trigger. | |
| L3 | 8 | Gamepad left stick click. | |
| R | 5 | Gamepad right Shoulder button. | |
| R2 | 7 | Gamepad right trigger. | |
| R3 | 9 | Gamepad right stick click. | |
| Axis0 | 0 | Gamepad left stick horizontal axis. | |
| Axis1 | 1 | Gamepad left stick vertical axis. | |
| Axis2 | 2 | Gamepad right stick horizontal axis. | |
| Axis3 | 3 | Gamepad right stick vertical axis. | |
| Axis4 | 4 | Generic gamepad axis 4. | |
| Axis5 | 5 | Generic gamepad axis 5. | |
| Axis6 | 6 | Gamepad left trigger analog axis. | |
| Axis7 | 7 | Gamepad right trigger analog axis. | |
| Axis8 | 8 | Generic gamepad axis 8. | |
| Axis9 | 9 | Generic gamepad axis 9. | |
| AxisMax | 10 | Represents the maximum number of joystick axes supported. | |
| AnalogLx | 0 | Gamepad left stick horizontal axis. | |
| AnalogLy | 1 | Gamepad left stick vertical axis. | |
| AnalogRx | 2 | Gamepad right stick horizontal axis. | |
| AnalogRy | 3 | Gamepad right stick vertical axis. | |
| AnalogL2 | 6 | Gamepad left analog trigger. | |
| AnalogR2 | 7 | Gamepad right analog trigger. | |
| VrAnalogTrigger | 2 | VR Controller analog trigger. | |
| VrAnalogGrip | 4 | VR Controller analog grip (side buttons). | |
| OpenvrTouchpadx | 0 | OpenVR touchpad X axis (Joystick axis on Oculus Touch and Windows MR controllers). | |
| OpenvrTouchpady | 1 | OpenVR touchpad Y axis (Joystick axis on Oculus Touch and Windows MR controllers). |