summaryrefslogtreecommitdiffstats
path: root/quantum/quantum_keycodes.h
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2018-06-01 22:29:52 +0200
committerskullydazed <skullydazed@users.noreply.github.com>2018-09-25 22:28:36 +0200
commita0309db983150fd0197eb620a6ba552d90d29f93 (patch)
treec2101615f64c8ab4af8f17dd214ec92e0a3cad48 /quantum/quantum_keycodes.h
parentcfb1b353eef290ea4eddd7cfcb4617ca25d440d2 (diff)
downloadqmk_firmware-a0309db983150fd0197eb620a6ba552d90d29f93.tar.gz
qmk_firmware-a0309db983150fd0197eb620a6ba552d90d29f93.tar.xz
Add On/Off keycodes
Diffstat (limited to 'quantum/quantum_keycodes.h')
-rw-r--r--quantum/quantum_keycodes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h
index 050d2d275..e983798f2 100644
--- a/quantum/quantum_keycodes.h
+++ b/quantum/quantum_keycodes.h
@@ -139,10 +139,13 @@ enum quantum_keycodes {
// Faux clicky as part of main audio feature
CLICKY_TOGGLE,
+ CLICKY_ENABLE,
+ CLICKY_DISABLE,
CLICKY_UP,
CLICKY_DOWN,
CLICKY_RESET,
+
#ifdef FAUXCLICKY_ENABLE
// Faux clicky
FC_ON,
@@ -571,6 +574,8 @@ enum quantum_keycodes {
#define CK_RST CLICKY_RESET
#define CK_UP CLICKY_UP
#define CK_DOWN CLICKY_DOWN
+#define CK_ON CLICKY_ENABLE
+#define CK_OFF CLICKY_DISABLE
#define RGB_MOD RGB_MODE_FORWARD
#define RGB_SMOD RGB_MODE_FORWARD