Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

Fix Whammy Bar and Touchbar #40

Closed
jloehr opened this issue Feb 11, 2018 · 0 comments
Closed

Fix Whammy Bar and Touchbar #40

jloehr opened this issue Feb 11, 2018 · 0 comments

Comments

@jloehr
Copy link
Owner

jloehr commented Feb 11, 2018

Change mapping of those two from Rotation (RX & RY) to Z and RZ.

Also on

GuitarState->WhammyBar = 0xFF & ((0x1F & GuitarData[2]) << 3);

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant