Skip to main content

GamepadConnectEvent

Event received when a gamepad is connected to Excalibur. Gamepads receives this event.

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

publicgamepad

gamepad: Gamepad

publicindex

index: number

publicinheritedother

other: Gamepad | null = null

Other target object for this event

publicinheritedtarget

target: Gamepad

Target object for this event.

Accessors

publicinheritedbubbles

  • get bubbles(): boolean
  • set bubbles(value: boolean): void
  • If set to false, prevents event from propagating to other actors. If true it will be propagated to all actors that apply.


    Returns boolean

  • Parameters

    • value: boolean

    Returns void

Methods

publicinheritedstopPropagation

  • stopPropagation(): void
  • Prevents event from bubbling


    Returns void