diff --git a/MockBand.ino b/MockBand.ino index 85f3131..413ba05 100644 --- a/MockBand.ino +++ b/MockBand.ino @@ -132,7 +132,7 @@ void loop() { buttonState.buttons = (vbuttons & 0b1100111111); // +-..!OYRGB #ifdef GUITAR buttonState.buttons |= (vbuttons >> 10) & 0b11111; // Solo keys - bitWrite(buttonState.buttons, 6, vbuttons & (0b11111 << 10)); // Solo modifier + bitWrite(buttonState.buttons, 6, (vbuttons >> 10) & 0b11111); // Solo modifier if (bitRead(vbuttons, 6)) { buttonState.hatAndConstant = 0; // up