Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Shift+S4 for MIDI backup

  • Loading branch information...
commit 6ef80840407b6b43500693bb4f97b37f8f78103d 1 parent 77b0032
@pichenettes authored
Showing with 10 additions and 5 deletions.
  1. +10 −5 shruthi/editor.cc
View
15 shruthi/editor.cc
@@ -430,6 +430,16 @@ void Editor::HandleKeyEvent(const KeyEvent& event) {
Storage::SysExDump(engine.mutable_sequencer_settings());
}
break;
+
+ case KEY_4:
+ {
+ ConfirmPageSettings confirm_midi_backup;
+ confirm_midi_backup.text = STR_RES_START_FULL_MIDI;
+ confirm_midi_backup.return_group = GROUP_OSC;
+ confirm_midi_backup.callback = &StartMidiBackup;
+ Confirm(confirm_midi_backup);
+ }
+ break;
case KEY_MODE:
{
@@ -461,11 +471,6 @@ void Editor::HandleKeyEvent(const KeyEvent& event) {
}
break;
- case KEY_4:
- current_page_ = PAGE_SYS_TRIGGERS;
- PageChange();
- break;
-
case KEY_MODE:
editor_mode_ = EDITOR_MODE_PERFORMANCE;
JumpToPageGroup(GROUP_PERFORMANCE);
Please sign in to comment.
Something went wrong with that request. Please try again.