summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.c8
-rw-r--r--config.h1
2 files changed, 9 insertions, 0 deletions
diff --git a/config.c b/config.c
index 6b00e5b..e8014c5 100644
--- a/config.c
+++ b/config.c
@@ -436,3 +436,11 @@ config_reverse_strings()
436 } 436 }
437 g_config_source = source_edit; 437 g_config_source = source_edit;
438} 438}
439
440void
441config_flip_y()
442{
443 g_midi_three_octave_split_inverse ^= 1;
444 g_config_source = source_edit;
445 /* TODO: flip pit bend */
446}
diff --git a/config.h b/config.h
index 645499d..ca130ff 100644
--- a/config.h
+++ b/config.h
@@ -88,3 +88,4 @@ size_t config_dumpglobals(char *out, size_t outsize);
88size_t config_dumpstring(int string, char *out, size_t outsize); 88size_t config_dumpstring(int string, char *out, size_t outsize);
89char *config_midi_note_to_string(int string); 89char *config_midi_note_to_string(int string);
90void config_reverse_strings(); 90void config_reverse_strings();
91void config_flip_y();