GamepadEvent
package js.html
extends Event
Available on js
The GamepadEvent interface of the Gamepad API contains references to gamepads connected to the system, which is what the gamepad events Window.gamepadconnected
and Window.gamepaddisconnected
are fired in response to.
Documentation GamepadEvent by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
Constructor
new(type:String, ?eventInitDict:Null<GamepadEventInit>)
Throws:
null |
DOMError |
---|
Variables
read onlygamepad:Gamepad
Returns a Gamepad
object, providing access to the associated gamepad data for the event fired.
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/GamepadEvent.html