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‑>Void> = new Event<Void>()

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

@:value(new Event<Int -> Float>())onTrackballMove:Event_Int_Float_Void<Int‑>Float‑>Void> = new Event<Int -> Float>()

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>()