IDs for Switch Pro controllers


NOTES

WINDOWS: untested.

LINUX: untested

MAC: Worked out of box for me when connected via microUSB cable or Bluetooth

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(5)staticinlineread onlyDPAD_DOWN:Int = 5

@:value(6)staticinlineread onlyDPAD_LEFT:Int = 6

@:value(7)staticinlineread onlyDPAD_RIGHT:Int = 7

@:value(4)staticinlineread onlyDPAD_UP:Int = 4

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

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

@: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(16)staticinlineread onlyMINUS:Int = 16

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

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

@: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(23)staticinlineread onlyRIGHT_STICK_CLICK:Int = 23

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

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

@:value(14)staticinlineread onlyZL:Int = 14

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