diff options
author | Drashna Jaelre <drashna@live.com> | 2018-04-18 22:47:04 -0700 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-04-19 01:47:04 -0400 |
commit | 8b0b17a369be6d3dff4cb9bad4253960252a5e95 (patch) | |
tree | 11d453ef480983571de84147db3bc9c1bfcb5054 /quantum/quantum_keycodes.h | |
parent | 23b45710acc57ed147e006a8c79a1caf6fa57fd7 (diff) | |
download | qmk_firmware-8b0b17a369be6d3dff4cb9bad4253960252a5e95.tar.gz qmk_firmware-8b0b17a369be6d3dff4cb9bad4253960252a5e95.zip |
Add Faux Clicking as subset of Audio feature (#2748)
* Add Faux Clicky to main Audio feature
* Make clicky settings user configurable
* Add additional documentation
* Don't play when music mode is enabled (hopefully)
Diffstat (limited to 'quantum/quantum_keycodes.h')
-rw-r--r-- | quantum/quantum_keycodes.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h index d545440c9..d6030284a 100644 --- a/quantum/quantum_keycodes.h +++ b/quantum/quantum_keycodes.h | |||
@@ -140,6 +140,12 @@ enum quantum_keycodes { | |||
140 | AU_OFF, | 140 | AU_OFF, |
141 | AU_TOG, | 141 | AU_TOG, |
142 | 142 | ||
143 | // Faux clicky as part of main audio feature | ||
144 | CLICKY_TOGGLE, | ||
145 | CLICKY_UP, | ||
146 | CLICKY_DOWN, | ||
147 | CLICKY_RESET, | ||
148 | |||
143 | #ifdef FAUXCLICKY_ENABLE | 149 | #ifdef FAUXCLICKY_ENABLE |
144 | // Faux clicky | 150 | // Faux clicky |
145 | FC_ON, | 151 | FC_ON, |
@@ -561,6 +567,11 @@ enum quantum_keycodes { | |||
561 | 567 | ||
562 | #define KC_GESC GRAVE_ESC | 568 | #define KC_GESC GRAVE_ESC |
563 | 569 | ||
570 | #define CK_TOGG CLICKY_TOGGLE | ||
571 | #define CK_RST CLICKY_RESET | ||
572 | #define CK_UP CLICKY_UP | ||
573 | #define CK_DOWN CLICKY_DOWN | ||
574 | |||
564 | #define RGB_MOD RGB_MODE_FORWARD | 575 | #define RGB_MOD RGB_MODE_FORWARD |
565 | #define RGB_SMOD RGB_MODE_FORWARD | 576 | #define RGB_SMOD RGB_MODE_FORWARD |
566 | #define RGB_RMOD RGB_MODE_REVERSE | 577 | #define RGB_RMOD RGB_MODE_REVERSE |