WiiRemote hardware input ID's when using the device directly Hardware ID's: "Nintendo RVL-CNT-01-TR" and "Nintendo RVL-CNT-01" -- the latter does not have the Motion-Plus attachment

NOTE: On Windows this requires the HID-Wiimote driver by Julian Löhr, available here: https://github.com/jloehr/HID-Wiimote

Static variables

@:value(new FlxTypedGamepadAnalogStick<WiiRemoteID>(0, 1, { up : LEFT_STICK_UP, down : LEFT_STICK_DOWN, left : LEFT_STICK_LEFT, right : LEFT_STICK_RIGHT }))staticfinalread onlyLEFT_ANALOG_STICK:FlxTypedGamepadAnalogStick<WiiRemoteID> = new FlxTypedGamepadAnalogStick<WiiRemoteID>(0, 1, { up : LEFT_STICK_UP, down : LEFT_STICK_DOWN, left : LEFT_STICK_LEFT, right : LEFT_STICK_RIGHT })

the nunchuk only has the "left" analog stick

@:value(new FlxTypedGamepadAnalogStick<WiiRemoteID>(0, 1, { up : REMOTE_DPAD_UP, down : REMOTE_DPAD_DOWN, left : REMOTE_DPAD_LEFT, right : REMOTE_DPAD_RIGHT, threshold : 0.5, mode : ONLY_DIGITAL }))staticfinalread onlyREMOTE_DPAD:FlxTypedGamepadAnalogStick<WiiRemoteID> = new FlxTypedGamepadAnalogStick<WiiRemoteID>(0, 1, { up : REMOTE_DPAD_UP, down : REMOTE_DPAD_DOWN, left : REMOTE_DPAD_LEFT, right : REMOTE_DPAD_RIGHT, threshold : 0.5, mode : ONLY_DIGITAL })

@:value(new FlxTypedGamepadAnalogStick<WiiRemoteID>(2, 3, { up : RIGHT_STICK_UP, down : RIGHT_STICK_DOWN, left : RIGHT_STICK_LEFT, right : RIGHT_STICK_RIGHT }))staticfinalread onlyRIGHT_ANALOG_STICK:FlxTypedGamepadAnalogStick<WiiRemoteID> = new FlxTypedGamepadAnalogStick<WiiRemoteID>(2, 3, { up : RIGHT_STICK_UP, down : RIGHT_STICK_DOWN, left : RIGHT_STICK_LEFT, right : RIGHT_STICK_RIGHT })

the classic controller has both the "left" and "right" analog sticks

Variables

@:value(cast 9)@:impl@:enuminlineread onlyCLASSIC_A:WiiRemoteID = 9

@:value(cast 10)@:impl@:enuminlineread onlyCLASSIC_B:WiiRemoteID = 10

@:value(cast 6)@:impl@:enuminlineread onlyCLASSIC_DPAD_DOWN:WiiRemoteID = 6

@:value(cast 7)@:impl@:enuminlineread onlyCLASSIC_DPAD_LEFT:WiiRemoteID = 7

@:value(cast 8)@:impl@:enuminlineread onlyCLASSIC_DPAD_RIGHT:WiiRemoteID = 8

@:value(cast 5)@:impl@:enuminlineread onlyCLASSIC_DPAD_UP:WiiRemoteID = 5

@:value(cast 19)@:impl@:enuminlineread onlyCLASSIC_HOME:WiiRemoteID = 19

@:value(cast 13)@:impl@:enuminlineread onlyCLASSIC_L:WiiRemoteID = 13

@:value(cast 20)@:impl@:enuminlineread onlyCLASSIC_ONE:WiiRemoteID = 20

@:value(cast 14)@:impl@:enuminlineread onlyCLASSIC_R:WiiRemoteID = 14

@:value(cast 18)@:impl@:enuminlineread onlyCLASSIC_SELECT:WiiRemoteID = 18

@:value(cast 17)@:impl@:enuminlineread onlyCLASSIC_START:WiiRemoteID = 17

@:value(cast 21)@:impl@:enuminlineread onlyCLASSIC_TWO:WiiRemoteID = 21

@:value(cast 12)@:impl@:enuminlineread onlyCLASSIC_X:WiiRemoteID = 12

@:value(cast 11)@:impl@:enuminlineread onlyCLASSIC_Y:WiiRemoteID = 11

@:value(cast 15)@:impl@:enuminlineread onlyCLASSIC_ZL:WiiRemoteID = 15

@:value(cast 16)@:impl@:enuminlineread onlyCLASSIC_ZR:WiiRemoteID = 16

@:value(cast 29)@:impl@:enuminlineread onlyLEFT_STICK_DOWN:WiiRemoteID = 29

@:value(cast 30)@:impl@:enuminlineread onlyLEFT_STICK_LEFT:WiiRemoteID = 30

@:value(cast 31)@:impl@:enuminlineread onlyLEFT_STICK_RIGHT:WiiRemoteID = 31

@:value(cast 28)@:impl@:enuminlineread onlyLEFT_STICK_UP:WiiRemoteID = 28

@:value(cast 4)@:impl@:enuminlineread onlyLEFT_TRIGGER_FAKE:WiiRemoteID = 4

@:value(cast 9)@:impl@:enuminlineread onlyNUNCHUK_A:WiiRemoteID = 9

@:value(cast 10)@:impl@:enuminlineread onlyNUNCHUK_B:WiiRemoteID = 10

@:value(cast 11)@:impl@:enuminlineread onlyNUNCHUK_C:WiiRemoteID = 11

@:value(cast 6)@:impl@:enuminlineread onlyNUNCHUK_DPAD_DOWN:WiiRemoteID = 6

@:value(cast 7)@:impl@:enuminlineread onlyNUNCHUK_DPAD_LEFT:WiiRemoteID = 7

@:value(cast 8)@:impl@:enuminlineread onlyNUNCHUK_DPAD_RIGHT:WiiRemoteID = 8

@:value(cast 5)@:impl@:enuminlineread onlyNUNCHUK_DPAD_UP:WiiRemoteID = 5

@:value(cast 17)@:impl@:enuminlineread onlyNUNCHUK_HOME:WiiRemoteID = 17

@:value(cast 16)@:impl@:enuminlineread onlyNUNCHUK_MINUS:WiiRemoteID = 16

@:value(cast 4)@:impl@:enuminlineread onlyNUNCHUK_NULL_AXIS:WiiRemoteID = 4

@:value(cast 13)@:impl@:enuminlineread onlyNUNCHUK_ONE:WiiRemoteID = 13

@:value(cast 15)@:impl@:enuminlineread onlyNUNCHUK_PLUS:WiiRemoteID = 15

@:value(cast 3)@:impl@:enuminlineread onlyNUNCHUK_TILT_PITCH:WiiRemoteID = 3

@:value(cast 2)@:impl@:enuminlineread onlyNUNCHUK_TILT_ROLL:WiiRemoteID = 2

@:value(cast 14)@:impl@:enuminlineread onlyNUNCHUK_TWO:WiiRemoteID = 14

@:value(cast 12)@:impl@:enuminlineread onlyNUNCHUK_Z:WiiRemoteID = 12

@:value(cast 11)@:impl@:enuminlineread onlyREMOTE_A:WiiRemoteID = 11

@:value(cast 12)@:impl@:enuminlineread onlyREMOTE_B:WiiRemoteID = 12

@:value(cast 23)@:impl@:enuminlineread onlyREMOTE_DPAD_DOWN:WiiRemoteID = 23

@:value(cast 24)@:impl@:enuminlineread onlyREMOTE_DPAD_LEFT:WiiRemoteID = 24

@:value(cast 25)@:impl@:enuminlineread onlyREMOTE_DPAD_RIGHT:WiiRemoteID = 25

@:value(cast 22)@:impl@:enuminlineread onlyREMOTE_DPAD_UP:WiiRemoteID = 22

@:value(cast 26)@:impl@:enuminlineread onlyREMOTE_DPAD_X:WiiRemoteID = 26

@:value(cast 27)@:impl@:enuminlineread onlyREMOTE_DPAD_Y:WiiRemoteID = 27

@:value(cast 15)@:impl@:enuminlineread onlyREMOTE_HOME:WiiRemoteID = 15

@:value(cast 14)@:impl@:enuminlineread onlyREMOTE_MINUS:WiiRemoteID = 14

@:value(cast 4)@:impl@:enuminlineread onlyREMOTE_NULL_AXIS:WiiRemoteID = 4

@:value(cast 9)@:impl@:enuminlineread onlyREMOTE_ONE:WiiRemoteID = 9

Things to add: - Accelerometer (in both remote and nunchuk) - Gyroscope (in Motion-Plus version only) - IR camera (position tracking) - Rumble - Speaker

@:value(cast 13)@:impl@:enuminlineread onlyREMOTE_PLUS:WiiRemoteID = 13

@:value(cast 2)@:impl@:enuminlineread onlyREMOTE_TILT_PITCH:WiiRemoteID = 2

@:value(cast 3)@:impl@:enuminlineread onlyREMOTE_TILT_ROLL:WiiRemoteID = 3

@:value(cast 10)@:impl@:enuminlineread onlyREMOTE_TWO:WiiRemoteID = 10

@:value(cast 33)@:impl@:enuminlineread onlyRIGHT_STICK_DOWN:WiiRemoteID = 33

@:value(cast 34)@:impl@:enuminlineread onlyRIGHT_STICK_LEFT:WiiRemoteID = 34

@:value(cast 35)@:impl@:enuminlineread onlyRIGHT_STICK_RIGHT:WiiRemoteID = 35

@:value(cast 32)@:impl@:enuminlineread onlyRIGHT_STICK_UP:WiiRemoteID = 32

@:value(cast 5)@:impl@:enuminlineread onlyRIGHT_TRIGGER_FAKE:WiiRemoteID = 5