aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/quantum_keycodes.h
diff options
context:
space:
mode:
authorGravatar Gabriel Young <gabeplaysdrums@live.com>2017-02-18 04:25:17 -0800
committerGravatar Gabriel Young <gabeplaysdrums@live.com>2017-02-19 16:42:45 -0800
commit7c5e510fe2e57d1b3c0f98612f1f89d413c07525 (patch)
tree18173d946d91e90c796334b51868df520debbcb7 /quantum/quantum_keycodes.h
parentf67aefc522dd8b72711e7fc5280e1cae1470d1c5 (diff)
downloadqmk_firmware-7c5e510fe2e57d1b3c0f98612f1f89d413c07525.tar.gz
add support for pedal cc messages
Diffstat (limited to 'quantum/quantum_keycodes.h')
-rw-r--r--quantum/quantum_keycodes.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h
index a024a9639..f2b9509b5 100644
--- a/quantum/quantum_keycodes.h
+++ b/quantum/quantum_keycodes.h
@@ -109,8 +109,6 @@ enum quantum_keycodes {
#ifdef MIDI_ENABLE
// Midi
- MIDI_ON,
- MIDI_OFF,
MIDI_TONE_MIN,
@@ -221,7 +219,13 @@ enum quantum_keycodes {
MI_CHD, // previous channel
MI_CHU, // next channel
+ MI_OFF, // all notes off
+
MI_SUS, // sustain
+ MI_PORT, // portamento
+ MI_SOST, // sostenuto
+ MI_SOFT, // soft
+ MI_LEG, // legato
#endif
// Backlight functionality
@@ -394,9 +398,6 @@ enum quantum_keycodes {
#define BL_ON BL_9
#define BL_OFF BL_0
-#define MI_ON MIDI_ON
-#define MI_OFF MIDI_OFF
-
// GOTO layer - 16 layers max
// when:
// ON_PRESS = 1