There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Bug in decoding MotionPlus data
I'm there's a bug in the decoding of the Motion Plus data which corrupts the angular rate measurements: in these lines in Wiimote.cs
mWiimoteState.MotionPlusState.RawValues.X = buff[offset + 0] | ((buff[offset + 3] & 0xfa) << 6);
mWiimoteState.MotionPlusState.RawValues.Y = buff[offset + 1] | ((buff[offset + 4] & 0xfa) << 6);
mWiimoteState.MotionPlusState.RawValues.Z = buff[offset + 2] | ((buff[offset + 5] & 0xfa) << 6);
the three instances of '0xfa' should be changed to '0xfc'. This fixes the problem empirically, and also matches the Wiibrew documentation.