The GamepadEvent()
constructor creates a new
GamepadEvent
object.
Syntax
var gamepadEvent = new GamepadEvent(typeArg, options)
Parameters
Specifications
Specification | Status | Comment |
---|---|---|
Gamepad The definition of 'GamepadEvent_' in that specification. |
Working Draft | Initial definition. |
Browser compatibility
BCD tables only load in the browser