Class ControllerButtons
Defines the buttons on gamepad.
public sealed class ControllerButtons : Enum
- Inheritance
-
ControllerButtons
Fields
A
A button (the lower button)
public const ControllerButtons A = 4096
Field Value
B
B button (button on the right)
public const ControllerButtons B = 8192
Field Value
BigButton
Big button (like the big X in the Xbox 360)
public const ControllerButtons BigButton = 2048
Field Value
DPadDown
Directional pad down.
public const ControllerButtons DPadDown = 2
Field Value
DPadLeft
Directional pad left.
public const ControllerButtons DPadLeft = 4
Field Value
DPadRight
Directional pad right.
public const ControllerButtons DPadRight = 8
Field Value
DPadUp
Directional pad up.
public const ControllerButtons DPadUp = 1
Field Value
LeftShoulder
Left bumper (shoulder) button.
public const ControllerButtons LeftShoulder = 256
Field Value
LeftThumbstick
Left thumb stick button (pressing the left thumb stick).
public const ControllerButtons LeftThumbstick = 64
Field Value
LeftThumbstickDown
Left thumb stick is towards down.
public const ControllerButtons LeftThumbstickDown = 536870912
Field Value
LeftThumbstickLeft
Left thumb stick is towards the left.
public const ControllerButtons LeftThumbstickLeft = 2097152
Field Value
LeftThumbstickRight
Left thumb stick is towards the right.
public const ControllerButtons LeftThumbstickRight = 1073741824
Field Value
LeftThumbstickUp
Left thumb stick is towards up.
public const ControllerButtons LeftThumbstickUp = 268435456
Field Value
LeftTrigger
Left trigger
public const ControllerButtons LeftTrigger = 8388608
Field Value
Menu
START or MENU button (depending on your GamePad)
public const ControllerButtons Menu = 16
Field Value
None
Use to flag no button is pressed
public const ControllerButtons None = 0
Field Value
Options
BACK or Options button (depending on your GamePad)
public const ControllerButtons Options = 32
Field Value
RightShoulder
Right bumper (shoulder) button.
public const ControllerButtons RightShoulder = 512
Field Value
RightThumbstick
Right thumb stick button (pressing the right thumb stick).
public const ControllerButtons RightThumbstick = 128
Field Value
RightThumbstickDown
Right thumb stick is towards down.
public const ControllerButtons RightThumbstickDown = 33554432
Field Value
RightThumbstickLeft
Right thumb stick is towards the left.
public const ControllerButtons RightThumbstickLeft = 134217728
Field Value
RightThumbstickRight
Right thumb stick is towards the right.
public const ControllerButtons RightThumbstickRight = 67108864
Field Value
RightThumbstickUp
Right thumb stick is towards up.
public const ControllerButtons RightThumbstickUp = 16777216
Field Value
RightTrigger
Right trigger.
public const ControllerButtons RightTrigger = 4194304
Field Value
X
X button (button on the left)
public const ControllerButtons X = 16384
Field Value
Y
Y button (upper button)
public const ControllerButtons Y = 32768
Field Value
value__
public int value__