summaryrefslogtreecommitdiffstats
path: root/quantum/quantum_keycodes.h
diff options
context:
space:
mode:
authorTakeshi ISHII <2170248+mtei@users.noreply.github.com>2018-06-04 17:10:39 +0200
committerDrashna Jaelre <drashna@live.com>2018-06-04 17:10:39 +0200
commit5229734647706054066c277ea348a6d25cc38095 (patch)
treeac59bd43b32548ebac576b2fddd6db86afa40f4b /quantum/quantum_keycodes.h
parentcb91320d6d8836dd13db19bd2434abe2e7cadc20 (diff)
downloadqmk_firmware-5229734647706054066c277ea348a6d25cc38095.tar.gz
qmk_firmware-5229734647706054066c277ea348a6d25cc38095.tar.xz
Add rgblight mode 35 (R,G,B test mode) (#3114)
* add rgblight mode 35 (RGB cyclic mode) into quantum/rgblight.c * Update docs, add rgblight mode 35(RGB cyclic) * rename RGBCYCLIC to RGBTEST
Diffstat (limited to 'quantum/quantum_keycodes.h')
-rw-r--r--quantum/quantum_keycodes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h
index 405741eb1..f2cdb8a3b 100644
--- a/quantum/quantum_keycodes.h
+++ b/quantum/quantum_keycodes.h
@@ -423,6 +423,7 @@ enum quantum_keycodes {
RGB_MODE_KNIGHT,
RGB_MODE_XMAS,
RGB_MODE_GRADIENT,
+ RGB_MODE_RGBTEST,
// Left shift, open paren
KC_LSPO,
@@ -586,6 +587,7 @@ enum quantum_keycodes {
#define RGB_M_K RGB_MODE_KNIGHT
#define RGB_M_X RGB_MODE_XMAS
#define RGB_M_G RGB_MODE_GRADIENT
+#define RGB_M_T RGB_MODE_RGBTEST
// L-ayer, T-ap - 256 keycode max, 16 layer max
#define LT(layer, kc) (kc | QK_LAYER_TAP | ((layer & 0xF) << 8))