XInputButtons enumeration
A bitflag enum of gamepad buttons.
[Flags]
public enum XInputButtons
Values
name | value | description |
---|---|---|
None | 0x0 | No buttons are being pressed. |
DpadUp | 0x1 | "Up" on the directional pad. |
DpadDown | 0x2 | "Down" on the directional pad. |
DpadLeft | 0x4 | "Left" on the directional pad. |
DpadRight | 0x8 | "Right" on the directional pad. |
Start | 0x10 | The "start" button (rightmost center button). |
Back | 0x20 | The "back" or "options" or "select" button (leftmost center button). |
LeftStick | 0x40 | The "L3" thumbstick button. |
RightStick | 0x80 | The "R3" thumbstick button. |
LeftBumper | 0x100 | The left index-finger bumper button. |
RightBumper | 0x200 | The right index-finger bumper button. |
Guide | 0x400 | The "Guide" Xbox button. |
A | 0x1000 | The A button (bottom face button). |
B | 0x2000 | The B button (rightmost face button). |
X | 0x4000 | The X button (leftmost face button). |
Y | 0x8000 | The Y button (top face button). |
See Also
- namespace Rainway.SDK