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

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

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

@:value(18)staticinlineread onlyDPAD_DOWN:Int = 18

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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