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
staticread onlyLEFT_ANALOG_STICK:FlxGamepadAnalogStick = new FlxGamepadAnalogStick(0, 1, { up : 28, down : 29, left : 30, right : 31 })
the nunchuk only has the "left" analog stick
staticread onlyREMOTE_DPAD:FlxGamepadAnalogStick = new FlxGamepadAnalogStick(0, 1, { up : REMOTE_DPAD_UP, down : REMOTE_DPAD_DOWN, left : REMOTE_DPAD_LEFT, right : REMOTE_DPAD_RIGHT, threshold : 0.5, mode : ONLY_DIGITAL })
staticinlineread onlyREMOTE_ONE:Int = 9
Things to add: - Accelerometer (in both remote and nunchuk) - Gyroscope (in Motion-Plus version only) - IR camera (position tracking) - Rumble - Speaker
staticread onlyRIGHT_ANALOG_STICK:FlxGamepadAnalogStick = new FlxGamepadAnalogStick(2, 3, { up : 32, down : 33, left : 34, right : 35 })
the classic controller has both the "left" and "right" analog sticks