From 388e8c94f588c89b2d69c289878a47d04c8416f0 Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Sat, 10 Jun 2023 12:14:42 -0400 Subject: Modwheel: Change highlighting color (So it looks like the bar is 'filled' up when you go to it) --- HexBoard_V1.1.ino | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/HexBoard_V1.1.ino b/HexBoard_V1.1.ino index b14c3c0..612b338 100644 --- a/HexBoard_V1.1.ino +++ b/HexBoard_V1.1.ino @@ -329,8 +329,8 @@ GEMItem menuItemBuzzer("Buzzer:", buzzer); // For use when testing out unfinished features GEMItem menuItemTesting("Testing", menuPageTesting); -boolean release = true; // Whether this is a release or not -GEMItem menuItemVersion("V0.2.0 ", release, GEM_READONLY); +boolean release = false; // Whether this is a release or not +GEMItem menuItemVersion("V0.2.1 ", release, GEM_READONLY); void sequencerSetup(); //Forward declaration // For enabling basic sequencer mode - not complete GEMItem menuItemSequencer("Sequencer:", sequencerMode, sequencerSetup); @@ -642,19 +642,19 @@ void modWheel() { ///IN THE MIDDLE OF HACKING SOMETHING TOGETHER - pardon the m } else if (modWheelPosition > 25 && modWheelPosition < 75) { strip.setPixelColor(cmdBtn5, strip.ColorHSV(21854, 255, 0)); strip.setPixelColor(cmdBtn6, strip.ColorHSV(21854, 255, ((modWheelPosition - 25) * 5))); - strip.setPixelColor(cmdBtn7, strip.ColorHSV(21854, 255, (255 - (modWheelPosition - 25) * 5))); + strip.setPixelColor(cmdBtn7, strip.ColorHSV(21854, 255, 255)); } else if (modWheelPosition == 75) { strip.setPixelColor(cmdBtn5, strip.ColorHSV(21854, 255, 0)); strip.setPixelColor(cmdBtn6, strip.ColorHSV(21854, 255, 255)); - strip.setPixelColor(cmdBtn7, strip.ColorHSV(21854, 255, 0)); + strip.setPixelColor(cmdBtn7, strip.ColorHSV(21854, 255, 255)); } else if (modWheelPosition > 75 && modWheelPosition < 125) { strip.setPixelColor(cmdBtn5, strip.ColorHSV(21854, 255, ((modWheelPosition - 75) * 5))); - strip.setPixelColor(cmdBtn6, strip.ColorHSV(21854, 255, (255 - (modWheelPosition - 75) * 5))); - strip.setPixelColor(cmdBtn7, strip.ColorHSV(21854, 255, 0)); + strip.setPixelColor(cmdBtn6, strip.ColorHSV(21854, 255, 255)); + strip.setPixelColor(cmdBtn7, strip.ColorHSV(21854, 255, 255)); } else if (modWheelPosition >= 125) { strip.setPixelColor(cmdBtn5, strip.ColorHSV(21854, 255, 255)); - strip.setPixelColor(cmdBtn6, strip.ColorHSV(21854, 255, 0)); - strip.setPixelColor(cmdBtn7, strip.ColorHSV(21854, 255, 0)); + strip.setPixelColor(cmdBtn6, strip.ColorHSV(21854, 255, 255)); + strip.setPixelColor(cmdBtn7, strip.ColorHSV(21854, 255, 255)); } } -- cgit 1.4.1