CLASSES
TagsA - Z

Gamepads

Gamepad

Description

class Gamepads

Constructor

new Gamepads(ongamedpadconnected, ongamedpaddisconnected)

Parameters

Name Type Description
ongamedpadconnected (gamepad: T) => void Function called when a gamepad is connected
optional ongamedpaddisconnected (gamepad: T) => void

Methods

dispose() void