diff options
author | Jack Humbert <[email protected]> | 2016-05-15 00:40:59 -0400 |
---|---|---|
committer | Jack Humbert <[email protected]> | 2016-05-15 00:40:59 -0400 |
commit | 15719f3574c6274ee0f3ec87431927c5a523aa3e (patch) | |
tree | 1a62fe2d064397f0cf27e77ed6934e08e5f6ee3e /quantum/keymap_common.h | |
parent | 1a8c0dd22d6a2255511d0db6a456315541b5815b (diff) | |
download | qmk_firmware-15719f3574c6274ee0f3ec87431927c5a523aa3e.tar.gz qmk_firmware-15719f3574c6274ee0f3ec87431927c5a523aa3e.zip |
adds a sequencer to the music mode (#330)
* 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
* Merge branch 'master' into process-record
Diffstat (limited to 'quantum/keymap_common.h')
-rw-r--r-- | quantum/keymap_common.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/quantum/keymap_common.h b/quantum/keymap_common.h index 2ad1ba6c60..4107d575be 100644 --- a/quantum/keymap_common.h +++ b/quantum/keymap_common.h @@ -191,8 +191,6 @@ extern const uint16_t fn_actions[]; #define RESET 0x5000 #define DEBUG 0x5001 -#define KC_LEAD 0x5014 - // MAGIC keycodes #define MAGIC_SWAP_CONTROL_CAPSLOCK 0x5002 @@ -217,6 +215,19 @@ extern const uint16_t fn_actions[]; #define AG_SWAP MAGIC_SWAP_ALT_GUI #define AG_NORM MAGIC_UNSWAP_ALT_GUI +#define KC_LEAD 0x5014 + +// Audio on/off +#define AU_ON 0x5020 +#define AU_OFF 0x5021 + +// Music mode on/off +#define MU_ON 0x5022 +#define MU_OFF 0x5023 + +// Music voice iterate +#define MUV_IN 0x5024 +#define MUV_DE 0x5025 // GOTO layer - 16 layers max // when: |