Header menu logo Nu

GamepadAxis Type

Describes a source of axis-based input from a gamepad.

Union cases

Union case Description

StickLeftX

Full Usage: StickLeftX

StickLeftY

Full Usage: StickLeftY

StickRightX

Full Usage: StickRightX

StickRightY

Full Usage: StickRightY

TriggerLeft

Full Usage: TriggerLeft

TriggerRight

Full Usage: TriggerRight

Instance members

Instance member Description

this.IsStickLeftX

Full Usage: this.IsStickLeftX

Returns: bool
Returns: bool

this.IsStickLeftY

Full Usage: this.IsStickLeftY

Returns: bool
Returns: bool

this.IsStickRightX

Full Usage: this.IsStickRightX

Returns: bool
Returns: bool

this.IsStickRightY

Full Usage: this.IsStickRightY

Returns: bool
Returns: bool

this.IsTriggerLeft

Full Usage: this.IsTriggerLeft

Returns: bool
Returns: bool

this.IsTriggerRight

Full Usage: this.IsTriggerRight

Returns: bool
Returns: bool

Static members

Static member Description

GamepadAxis.ofEventName eventName

Full Usage: GamepadAxis.ofEventName eventName

Parameters:
    eventName : string

Returns: GamepadAxis

Extract the respective gamepad axis identified by the given name.

eventName : string
Returns: GamepadAxis

GamepadAxis.toEventName this

Full Usage: GamepadAxis.toEventName this

Parameters:
Returns: string

Extract the respective name identifying the given gamepad axis.

this : GamepadAxis
Returns: string

Type something to start searching.