Static variables

@:value(new Map<Int,Joystick>())staticdevices:Map<Int, Joystick> = new Map<Int,Joystick>()

@:value(new Event<Joystick>())staticonConnect:_Event_lime_ui_Joystick_Void<Joystick ‑> Void> = new Event<Joystick>()

Constructor

new(id:Int)

Variables

read onlyconnected:Bool

read onlyguid:String

read onlyid:Int

read onlyname:String

read onlynumAxes:Int

read onlynumButtons:Int

read onlynumHats:Int

@:value(new Event<Int -> Float>())onAxisMove:_Event_Int_Float_Void<(Int, Float) ‑> Void> = new Event<Int -> Float>()

@:value(new Event<Int>())onButtonDown:_Event_Int_Void<Int ‑> Void> = new Event<Int>()

@:value(new Event<Int>())onButtonUp:_Event_Int_Void<Int ‑> Void> = new Event<Int>()

@:value(new Event<Void>())onDisconnect:_Event_Void_Void<() ‑> Void> = new Event<Void>()

@:value(new Event<Int -> JoystickHatPosition>())onHatMove:_Event_Int_lime_ui_JoystickHatPosition_Void<(Int, JoystickHatPosition) ‑> Void> = new Event<Int -> JoystickHatPosition>()