WiiRemote hardware input ID's when using "Mode 3" of the MayFlash DolphinBar accessory
Static variables
staticfinalread onlyLEFT_ANALOG_STICK:FlxTypedGamepadAnalogStick<MayflashWiiRemoteID> = new FlxTypedGamepadAnalogStick<MayflashWiiRemoteID>(0, 1, { up : LEFT_STICK_UP, down : LEFT_STICK_DOWN, left : LEFT_STICK_LEFT, right : LEFT_STICK_RIGHT })
staticfinalread onlyREMOTE_DPAD:FlxTypedGamepadAnalogStick<MayflashWiiRemoteID> = new FlxTypedGamepadAnalogStick<MayflashWiiRemoteID>(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 onlyRIGHT_ANALOG_STICK:FlxTypedGamepadAnalogStick<MayflashWiiRemoteID> = new FlxTypedGamepadAnalogStick<MayflashWiiRemoteID>(2, 3, { up : RIGHT_STICK_UP, down : RIGHT_STICK_DOWN, left : RIGHT_STICK_LEFT, right : RIGHT_STICK_RIGHT })
Variables
inlineread onlyREMOTE_ONE:MayflashWiiRemoteID = 8
Things to add: - Accelerometer (in both remote and nunchuk) - Gyroscope (in Motion-Plus version only) - IR camera (position tracking) - Rumble - Speaker