Skip to main content

GamePadProps

Description:

  The virtual gamepad properties.

noDPad

Type: Field.

Description:

  Whether to hide the directional pad (D-pad). [optional]

Signature:

noDPad: boolean

noLeftStick

Type: Field.

Description:

  Whether to hide the left stick (L, LS). [optional]

Signature:

noLeftStick: boolean

noRightStick

Type: Field.

Description:

  Whether to hide the right stick (R, RS). [optional]

Signature:

noRightStick: boolean

noButtonPad

Type: Field.

Description:

  Whether to hide the button pad (A, B, X, Y). [optional]

Signature:

noButtonPad: boolean

noTriggerPad

Type: Field.

Description:

  Whether to hide the trigger pad (LB, LT, RB, RT). [optional]

Signature:

noTriggerPad: boolean

noControlPad

Type: Field.

Description:

  Whether to hide the control pad (Start and Back buttons). [optional]

Signature:

noControlPad: boolean

noShoulder

Type: Field.

Description:

  Whether to hide the shoulder buttons (LB, RB). [optional]

Signature:

noShoulder: boolean

noStickButton

Type: Field.

Description:

  Whether to hide the trigger buttons (LS, RS). [optional]

Signature:

noStickButton: boolean

color

Type: Field.

Description:

  The color of the gamepad. [optional]

Signature:

color: number

primaryOpacity

Type: Field.

Description:

  The primary opacity of the gamepad. [optional]

Signature:

primaryOpacity: number

secondaryOpacity

Type: Field.

Description:

  The secondary opacity of the gamepad. [optional]

Signature:

secondaryOpacity: number

inputManager

Type: Field.

Description:

  The input manager for the gamepad. [required]

Signature:

inputManager: InputManager