Skip to content

Commit

Permalink
Swap VKB octave shift keybinds (they were flipped) (surge-synthesizer…
Browse files Browse the repository at this point in the history
  • Loading branch information
mkruselj authored Dec 6, 2021
1 parent e8408ae commit 28d1054
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/surge-xt/SurgeSynthEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit 28d1054

Please sign in to comment.