aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/planck/keymaps/thermal_printer
diff options
context:
space:
mode:
authorGravatar Gabriel Young <gabeplaysdrums@live.com>2017-02-25 20:41:13 -0800
committerGravatar Gabriel Young <gabeplaysdrums@live.com>2017-02-25 20:41:13 -0800
commita64ae1066250d3aafb6e9670bf617237ec4338e7 (patch)
tree9d91360888e2f14c7d7fe84d0a821c629a7340d3 /keyboards/planck/keymaps/thermal_printer
parentea14ed122fb5c1b3be5f5d6edda9b39b151692e5 (diff)
downloadqmk_firmware-a64ae1066250d3aafb6e9670bf617237ec4338e7.tar.gz
Update existing keymaps
Update existing keymaps to enable MIDI_BASIC functionality. Also added an option MIDI_ENABLE_STRICT to be strict about keycode use (which also reduces memory footprint at runtime)
Diffstat (limited to 'keyboards/planck/keymaps/thermal_printer')
-rw-r--r--keyboards/planck/keymaps/thermal_printer/config.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/keyboards/planck/keymaps/thermal_printer/config.h b/keyboards/planck/keymaps/thermal_printer/config.h
index 430b6493c..bcd098930 100644
--- a/keyboards/planck/keymaps/thermal_printer/config.h
+++ b/keyboards/planck/keymaps/thermal_printer/config.h
@@ -20,4 +20,27 @@
sei(); \
} while(0)
+/*
+ * MIDI options
+ */
+
+/* Prevent use of disabled MIDI features in the keymap */
+//#define MIDI_ENABLE_STRICT 1
+
+/* enable basic MIDI features:
+ - MIDI notes can be sent when in Music mode is on
+*/
+#define MIDI_BASIC
+
+/* enable advanced MIDI features:
+ - MIDI notes can be added to the keymap
+ - Octave shift and transpose
+ - Virtual sustain, portamento, and modulation wheel
+ - etc.
+*/
+//#define MIDI_ADVANCED
+
+/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
+//#define MIDI_TONE_KEYCODE_OCTAVES 2
+
#endif \ No newline at end of file