summaryrefslogtreecommitdiff
path: root/gtk2_ardour/rc_option_editor.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-12-19 04:27:54 +0100
committerRobin Gareus <robin@gareus.org>2019-12-19 18:57:40 +0100
commitd0668721d5ac0c3d1de6f09e482eae49562232df (patch)
tree99c081e9147559f1e86c1faa2001f542ab091ee2 /gtk2_ardour/rc_option_editor.cc
parent01291f3e0fd94476aa4c53b439cf934faa6a9309 (diff)
Vkeybd simplification
* remove Y-axis dependent velocity (difference between black/white keys made this not very usable * remove Bank/Patch selector (there are already three other Bank/Patch UIs * move keyboard-layout selection into Preferences > MIDI
Diffstat (limited to 'gtk2_ardour/rc_option_editor.cc')
-rw-r--r--gtk2_ardour/rc_option_editor.cc21
1 files changed, 21 insertions, 0 deletions
diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc
index d172b32eee..2844e947db 100644
--- a/gtk2_ardour/rc_option_editor.cc
+++ b/gtk2_ardour/rc_option_editor.cc
@@ -2586,6 +2586,7 @@ RCOptionEditor::RCOptionEditor ()
add_option (_("Editor/Modifiers"), new KeyboardOptions);
add_option (_("Editor/Modifiers"), new OptionEditorBlank ());
+
/* MIXER -- SOLO AND MUTE */
add_option (_("Mixer"), new OptionEditorHeading (_("Solo")));
@@ -2901,6 +2902,26 @@ RCOptionEditor::RCOptionEditor ()
sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::set_sound_midi_notes)
));
+ add_option (_("MIDI"), new OptionEditorHeading (_("Virtual Keyboard")));
+
+ ComboOption<std::string>* vkeybdlayout = new ComboOption<std::string> (
+ "vkeybd-layout",
+ _("Virtual Keyboard Layout"),
+ sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::get_vkeybd_layout),
+ sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::set_vkeybd_layout)
+ );
+
+ vkeybdlayout->add ("QWERTY", _("QWERTY"));
+ vkeybdlayout->add ("QWERTZ", _("QWERTZ"));
+ vkeybdlayout->add ("AZERTY", _("AZERTY"));
+ vkeybdlayout->add ("AZERTY", _("AZERTY"));
+ vkeybdlayout->add ("DVORAK", _("DVORAK"));
+ vkeybdlayout->add ("QWERTY Single", _("QWERTY Single"));
+ vkeybdlayout->add ("QWERTZ Single", _("QWERTZ Single"));
+
+ add_option (_("MIDI"), vkeybdlayout);
+
+
/* Click */
add_option (_("Metronome"), new OptionEditorHeading (_("Metronome")));