IDs for Switch's Right JoyCon controllers


NOTES

WINDOWS: untested.

LINUX: untested.

MAC: Worked on html out of box for me when connected via microUSB cable or Bluetooth. Flash and neko couldn't detect the controller via bluetooth, which is weird because The pro worked wirelessly.

Available since

4.8.0

.

Static variables

@:value(8)staticinlineread onlyA:Int = 8

@:value(9)staticinlineread onlyB:Int = 9

@:value(21)staticinlineread onlyCAPTURE:Int = 21

@:value(20)staticinlineread onlyHOME:Int = 20

@:value(new FlxGamepadAnalogStick(0, 1, { up : 24, down : 25, left : 26, right : 27 }))staticread onlyLEFT_ANALOG_STICK:FlxGamepadAnalogStick = new FlxGamepadAnalogStick(0, 1, { up : 24, down : 25, left : 26, right : 27 })

@:value(22)staticinlineread onlyLEFT_STICK_CLICK:Int = 22

@:value(17)staticinlineread onlyPLUS:Int = 17

@:value(16)staticinlineread onlyR:Int = 16

@:value(new FlxGamepadAnalogStick(2, 3, { up : 28, down : 29, left : 30, right : 31 }))staticread onlyRIGHT_ANALOG_STICK:FlxGamepadAnalogStick = new FlxGamepadAnalogStick(2, 3, { up : 28, down : 29, left : 30, right : 31 })

@:value(12)staticinlineread onlySL:Int = 12

@:value(13)staticinlineread onlySR:Int = 13

@:value(10)staticinlineread onlyX:Int = 10

@:value(11)staticinlineread onlyY:Int = 11

@:value(15)staticinlineread onlyZR:Int = 15