From 28d10544c1227862fb46894130ca398fcbeb7756 Mon Sep 17 00:00:00 2001 From: EvilDragon Date: Mon, 6 Dec 2021 20:03:57 +0100 Subject: [PATCH] Swap VKB octave shift keybinds (they were flipped) (#5583) --- src/surge-xt/SurgeSynthEditor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/surge-xt/SurgeSynthEditor.cpp b/src/surge-xt/SurgeSynthEditor.cpp index 0ffb6ecfa22..f46f7965ee3 100644 --- a/src/surge-xt/SurgeSynthEditor.cpp +++ b/src/surge-xt/SurgeSynthEditor.cpp @@ -335,7 +335,7 @@ bool SurgeSynthEditor::keyPressed(const juce::KeyPress &key, juce::Component *or auto textChar = key.getTextCharacter(); // shift VKB note input one octave up - if (textChar == 'x') + if (textChar == 'c') { midiKeyboardOctave = std::clamp(midiKeyboardOctave + 1, 0, 9); keyboard->setKeyPressBaseOctave(midiKeyboardOctave); @@ -344,7 +344,7 @@ bool SurgeSynthEditor::keyPressed(const juce::KeyPress &key, juce::Component *or } // shift VKB note input one octave down - if (textChar == 'c') + if (textChar == 'x') { midiKeyboardOctave = std::clamp(midiKeyboardOctave - 1, 0, 9); keyboard->setKeyPressBaseOctave(midiKeyboardOctave);