Optionalhandler: (e: AxisEvent) => voidFires when the serializable snapshot differs from the previous frame
Optionalhandler: (e: ButtonEvent) => voidOptionalhandler: (e: ButtonEvent) => voidOptionalhandler: (e: ButtonEvent) => voidOptionalhandler: () => voidOptionalhandler: (e: TriggerEvent) => voidOptionalhandler: (e: TriggerEvent) => void
Per-controller façade over the browser
Gamepadobject: named buttons/axes, gesture helpers, rumble, and snapshots.Remarks
Obtain instances from GamepadManager.onConnect or GamepadManager.getDevices. Every
on*subscription returns a disposer—call it to remove listeners when UI unmounts or gameplay state changes.