From 703b070844a766208ae22667c7042741ea6e05c2 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Fri, 5 Jan 2024 18:16:29 -0700 Subject: [PATCH] Remove dpad kludge for drums - it messes up CH --- MockBand.ino | 9 --------- 1 file changed, 9 deletions(-) diff --git a/MockBand.ino b/MockBand.ino index 31f1b28..8373f36 100644 --- a/MockBand.ino +++ b/MockBand.ino @@ -151,15 +151,6 @@ void loop() { buttonState.velocity[1] = bitRead(buttonState.buttons, 2)?127:0; // R buttonState.velocity[2] = bitRead(buttonState.buttons, 1)?127:0; // G buttonState.velocity[3] = bitRead(buttonState.buttons, 0)?127:0; // B - - // Use the cymbals for up and down, since I don't have a D-pad - if bitRead(buttons, 13) { - buttonState.hatAndConstant = 0; // up - } else if bitRead(buttons, 10) { - buttonState.hatAndConstant = 4; // down - } else { - buttonState.hatAndConstant = 8; // nothing - } #endif #ifdef DPAD