Line 611:
Line 611:
−
It is possible to read from both Motion Plus and an extension controller at the same time by activating the MotionPlus in one of the pass-through modes suggested by DogP. When activated, this interleaves extension controller data with MotionPlus data on every other read. Data passing through are modified to make room for 3 bookkeeping bits. Two pass-through modes are currently known, one with modifications adapted to the NunChuck, and one with modifications adapted to the Classic Controller.
+
It is possible to read from both Motion Plus and an extension controller at the same time by activating the MotionPlus in one of the pass-through modes suggested by DogP. When activated, this interleaves extension controller data with MotionPlus data on every other read. Data passing through are modified to make room for 3 bookkeeping bits. Two pass-through modes are currently known, one with modifications adapted to the NunChuck, and one with modifications adapted to the Classic Controller (but suitable for Guitar, Drums, or Turntable).
Nunchuck pass-through mode :
Nunchuck pass-through mode :
* Activated by writing 0x05 instead of 0x04 to 0x(4)A600FE
* Activated by writing 0x05 instead of 0x04 to 0x(4)A600FE
−
* Data passing through drops the least significant bits of the three accelerometer values
+
* Data passing through drops the least significant bit of the three accelerometer values
−
Classic Controller pass-through mode :
+
Classic Controller/Instrument pass-through mode:
* Activated by writing 0x07 instead of 0x04 to 0x(4)A600FE
* Activated by writing 0x07 instead of 0x04 to 0x(4)A600FE
−
* Data passing through drops the least significant bits of the axis of the left joystick
+
* Data passing through drops the least significant 2 bits of the axis of the left (or only) joystick
+
There is no requirement to use the correct mode for the extension, but the bitshift/move wouldn't make sense.
There is no requirement to use the correct mode for the extension, but the bitshift/move wouldn't make sense.