summaryrefslogtreecommitdiffstats
path: root/quantum/quantum.c
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2018-06-12 16:59:35 +0200
committerJack Humbert <jack.humb@gmail.com>2018-06-12 16:59:35 +0200
commit998ddbb122c9d3e2a77bd4e88c881b225ca0d569 (patch)
treeca91ff7ad3c4866555d1e623fe9ea05276397e1c /quantum/quantum.c
parentc0095710a7c7e9bd94aa9f4dd814dc28d718c731 (diff)
parent06487daaddf923d635e8a528d1eb644b875a73f6 (diff)
downloadqmk_firmware-998ddbb122c9d3e2a77bd4e88c881b225ca0d569.tar.gz
qmk_firmware-998ddbb122c9d3e2a77bd4e88c881b225ca0d569.tar.xz
Merge branch 'master' of github.com:qmk/qmk_firmware into hf/shinydox
Diffstat (limited to 'quantum/quantum.c')
-rw-r--r--quantum/quantum.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c
index f9b3e2197..cfa3df741 100644
--- a/quantum/quantum.c
+++ b/quantum/quantum.c
@@ -442,7 +442,12 @@ bool process_record_quantum(keyrecord_t *record) {
}
}
return false;
- #endif
+ case RGB_MODE_RGBTEST:
+ if (record->event.pressed) {
+ rgblight_mode(35);
+ }
+ return false;
+ #endif // defined(RGBLIGHT_ENABLE) || defined(RGB_MATRIX_ENABLE)
#ifdef PROTOCOL_LUFA
case OUT_AUTO:
if (record->event.pressed) {