GamepadEvent

open external class GamepadEvent(val type: EventType<GamepadEvent>, init: GamepadEventInit) : Event(source)

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.

MDN Reference

Constructors

Link copied to clipboard
constructor(type: EventType<GamepadEvent>, init: GamepadEventInit)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val type: EventType<GamepadEvent>

Functions

Link copied to clipboard
open override fun asInit(): GamepadEventInit
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard