Header menu logo Mibo

GamepadButtonCode Type

Backend-neutral gamepad button, following the standard gamepad layout (face buttons, D-pad, shoulder/bumper, stick clicks). Backends map their native ordering (which differs between raylib and MonoGame) onto this DU.

Union cases

Union case Description

DPadDown

Full Usage: DPadDown

DPadLeft

Full Usage: DPadLeft

DPadRight

Full Usage: DPadRight

DPadUp

Full Usage: DPadUp

FaceDown

Full Usage: FaceDown

FaceLeft

Full Usage: FaceLeft

FaceRight

Full Usage: FaceRight

FaceUp

Full Usage: FaceUp

Home

Full Usage: Home

LeftShoulder

Full Usage: LeftShoulder

LeftStick

Full Usage: LeftStick

LeftTrigger

Full Usage: LeftTrigger

RightShoulder

Full Usage: RightShoulder

RightStick

Full Usage: RightStick

RightTrigger

Full Usage: RightTrigger

Select

Full Usage: Select

Start

Full Usage: Start

Unknown

Full Usage: Unknown

Instance members

Instance member Description

this.IsDPadDown

Full Usage: this.IsDPadDown

Returns: bool
Returns: bool

this.IsDPadLeft

Full Usage: this.IsDPadLeft

Returns: bool
Returns: bool

this.IsDPadRight

Full Usage: this.IsDPadRight

Returns: bool
Returns: bool

this.IsDPadUp

Full Usage: this.IsDPadUp

Returns: bool
Returns: bool

this.IsFaceDown

Full Usage: this.IsFaceDown

Returns: bool
Returns: bool

this.IsFaceLeft

Full Usage: this.IsFaceLeft

Returns: bool
Returns: bool

this.IsFaceRight

Full Usage: this.IsFaceRight

Returns: bool
Returns: bool

this.IsFaceUp

Full Usage: this.IsFaceUp

Returns: bool
Returns: bool

this.IsHome

Full Usage: this.IsHome

Returns: bool
Returns: bool

this.IsLeftShoulder

Full Usage: this.IsLeftShoulder

Returns: bool
Returns: bool

this.IsLeftStick

Full Usage: this.IsLeftStick

Returns: bool
Returns: bool

this.IsLeftTrigger

Full Usage: this.IsLeftTrigger

Returns: bool
Returns: bool

this.IsRightShoulder

Full Usage: this.IsRightShoulder

Returns: bool
Returns: bool

this.IsRightStick

Full Usage: this.IsRightStick

Returns: bool
Returns: bool

this.IsRightTrigger

Full Usage: this.IsRightTrigger

Returns: bool
Returns: bool

this.IsSelect

Full Usage: this.IsSelect

Returns: bool
Returns: bool

this.IsStart

Full Usage: this.IsStart

Returns: bool
Returns: bool

this.IsUnknown

Full Usage: this.IsUnknown

Returns: bool
Returns: bool

Type something to start searching.