Table of Contents

Class ControllerButtons

Namespace
Fantas.Input
Assembly
Fantas.dll

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

ControllerButtons

B

B button (button on the right)

public const ControllerButtons B = 8192

Field Value

ControllerButtons

BigButton

Big button (like the big X in the Xbox 360)

public const ControllerButtons BigButton = 2048

Field Value

ControllerButtons

DPadDown

Directional pad down.

public const ControllerButtons DPadDown = 2

Field Value

ControllerButtons

DPadLeft

Directional pad left.

public const ControllerButtons DPadLeft = 4

Field Value

ControllerButtons

DPadRight

Directional pad right.

public const ControllerButtons DPadRight = 8

Field Value

ControllerButtons

DPadUp

Directional pad up.

public const ControllerButtons DPadUp = 1

Field Value

ControllerButtons

LeftShoulder

Left bumper (shoulder) button.

public const ControllerButtons LeftShoulder = 256

Field Value

ControllerButtons

LeftThumbstick

Left thumb stick button (pressing the left thumb stick).

public const ControllerButtons LeftThumbstick = 64

Field Value

ControllerButtons

LeftThumbstickDown

Left thumb stick is towards down.

public const ControllerButtons LeftThumbstickDown = 536870912

Field Value

ControllerButtons

LeftThumbstickLeft

Left thumb stick is towards the left.

public const ControllerButtons LeftThumbstickLeft = 2097152

Field Value

ControllerButtons

LeftThumbstickRight

Left thumb stick is towards the right.

public const ControllerButtons LeftThumbstickRight = 1073741824

Field Value

ControllerButtons

LeftThumbstickUp

Left thumb stick is towards up.

public const ControllerButtons LeftThumbstickUp = 268435456

Field Value

ControllerButtons

LeftTrigger

Left trigger

public const ControllerButtons LeftTrigger = 8388608

Field Value

ControllerButtons

Menu

START or MENU button (depending on your GamePad)

public const ControllerButtons Menu = 16

Field Value

ControllerButtons

None

Use to flag no button is pressed

public const ControllerButtons None = 0

Field Value

ControllerButtons

Options

BACK or Options button (depending on your GamePad)

public const ControllerButtons Options = 32

Field Value

ControllerButtons

RightShoulder

Right bumper (shoulder) button.

public const ControllerButtons RightShoulder = 512

Field Value

ControllerButtons

RightThumbstick

Right thumb stick button (pressing the right thumb stick).

public const ControllerButtons RightThumbstick = 128

Field Value

ControllerButtons

RightThumbstickDown

Right thumb stick is towards down.

public const ControllerButtons RightThumbstickDown = 33554432

Field Value

ControllerButtons

RightThumbstickLeft

Right thumb stick is towards the left.

public const ControllerButtons RightThumbstickLeft = 134217728

Field Value

ControllerButtons

RightThumbstickRight

Right thumb stick is towards the right.

public const ControllerButtons RightThumbstickRight = 67108864

Field Value

ControllerButtons

RightThumbstickUp

Right thumb stick is towards up.

public const ControllerButtons RightThumbstickUp = 16777216

Field Value

ControllerButtons

RightTrigger

Right trigger.

public const ControllerButtons RightTrigger = 4194304

Field Value

ControllerButtons

X

X button (button on the left)

public const ControllerButtons X = 16384

Field Value

ControllerButtons

Y

Y button (upper button)

public const ControllerButtons Y = 32768

Field Value

ControllerButtons

value__

public int value__

Field Value

int