summaryrefslogtreecommitdiffstats
path: root/quantum/quantum_keycodes.h
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2018-04-18 22:47:04 -0700
committerJack Humbert <jack.humb@gmail.com>2018-04-19 01:47:04 -0400
commit8b0b17a369be6d3dff4cb9bad4253960252a5e95 (patch)
tree11d453ef480983571de84147db3bc9c1bfcb5054 /quantum/quantum_keycodes.h
parent23b45710acc57ed147e006a8c79a1caf6fa57fd7 (diff)
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.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h
index d545440c99..d6030284a9 100644
--- a/quantum/quantum_keycodes.h
+++ b/quantum/quantum_keycodes.h
@@ -140,6 +140,12 @@ enum quantum_keycodes {
AU_OFF,
AU_TOG,
+ // Faux clicky as part of main audio feature
+ CLICKY_TOGGLE,
+ CLICKY_UP,
+ CLICKY_DOWN,
+ CLICKY_RESET,
+
#ifdef FAUXCLICKY_ENABLE
// Faux clicky
FC_ON,
@@ -561,6 +567,11 @@ enum quantum_keycodes {
#define KC_GESC GRAVE_ESC
+#define CK_TOGG CLICKY_TOGGLE
+#define CK_RST CLICKY_RESET
+#define CK_UP CLICKY_UP
+#define CK_DOWN CLICKY_DOWN
+
#define RGB_MOD RGB_MODE_FORWARD
#define RGB_SMOD RGB_MODE_FORWARD
#define RGB_RMOD RGB_MODE_REVERSE