Static methods

@:value({ index : 0 })staticget(index:Int = 0):Gamepad

staticnotifyOnConnect(connectListener:Int ‑> Void, disconnectListener:Int ‑> Void):Void

staticremoveConnect(connectListener:Int ‑> Void, disconnectListener:Int ‑> Void):Void

Variables

read onlyconnected:Bool

read onlyid:String

Methods

notify(axisListener:(Int, Float) ‑> Void, buttonListener:(Int, Float) ‑> Void):Void

remove(axisListener:(Int, Float) ‑> Void, buttonListener:(Int, Float) ‑> Void):Void