gamepadEvent top-level property

dynamic get gamepadEvent

This Gamepad API interface contains references to gamepads connected to the system, which is what the gamepad events Window.gamepadconnected and Window.gamepaddisconnected are fired in response to. Available only in secure contexts.

MDN Reference

Implementation

_i2.dynamic get gamepadEvent => _i4.getProperty(
      _self,
      'GamepadEvent',
    );