summaryrefslogtreecommitdiff
path: root/quantum/keymap_common.h
diff options
context:
space:
mode:
authorJack Humbert2016-05-15 00:51:06 -0400
committerJack Humbert2016-05-15 00:51:06 -0400
commitfde477a927edc6b4207a6968d44aeed021e8b300 (patch)
tree89a52f005d7d119af31b03261607792aa1f459ff /quantum/keymap_common.h
parentbf5c2ccee5497523c214dae7aacdc27fdbb0f235 (diff)
updates midi functionality (#331)
* implements leader key for planck experimental * allows override of leader timeout * adds ability to use the leader key in seq * fixes leader keycode * adds chording prototype * fixes keycode detection * moves music mode to quantum.c * disables chording by default * adds music sequencer functionality * implements audio/music functions in quantum.c * splits up process_action to allow independent processing of actions * moves midi stuff to quantum.c * adds additional scales for midi
Diffstat (limited to 'quantum/keymap_common.h')
-rw-r--r--quantum/keymap_common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/quantum/keymap_common.h b/quantum/keymap_common.h
index 0074ab164..07020150a 100644
--- a/quantum/keymap_common.h
+++ b/quantum/keymap_common.h
@@ -195,6 +195,7 @@ extern const uint16_t fn_actions[];
+
// MAGIC keycodes
#define MAGIC_SWAP_CONTROL_CAPSLOCK 0x5002
#define MAGIC_UNSWAP_CONTROL_CAPSLOCK 0x5003
@@ -232,6 +233,10 @@ extern const uint16_t fn_actions[];
#define MUV_IN 0x5024
#define MUV_DE 0x5025
+// Midi mode on/off
+#define MI_ON 0x5026
+#define MI_OFF 0x5027
+
// GOTO layer - 16 layers max
// when:
// ON_PRESS = 1