WebIDLpedia

GamepadEvent interface

Definition

Gamepad defines GamepadEvent



[Exposed=Window]

interface GamepadEvent: Event {
  constructor(DOMString type, GamepadEventInit eventInitDict);
  [SameObject] readonly attribute Gamepad gamepad;
};

Methods and attributes that return objects implementing GamepadEvent