Closed jloehr closed 6 years ago
Change mapping of those two from Rotation (RX & RY) to Z and RZ.
Also on https://github.com/jloehr/HID-Wiimote/blob/e064a81b793abdda1fd0165caa2931a21bd2c8d0/HID%20Wiimote/WiimoteState.c#L451
GuitarState->WhammyBar = 0xFF & ((0x1F & GuitarData[2]) << 3); GuitarState->TouchBar = 0xFF & ((0x1F & GuitarData[3]) << 3);
Index 2 is the TouchBar and Index 3 is the Whammy Bar. So swap those.
Change mapping of those two from Rotation (RX & RY) to Z and RZ.
Also on https://github.com/jloehr/HID-Wiimote/blob/e064a81b793abdda1fd0165caa2931a21bd2c8d0/HID%20Wiimote/WiimoteState.c#L451
Index 2 is the TouchBar and Index 3 is the Whammy Bar. So swap those.