diff options
| author | Takeshi ISHII <2170248+mtei@users.noreply.github.com> | 2018-06-05 00:10:39 +0900 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2018-06-04 08:10:39 -0700 |
| commit | 5229734647706054066c277ea348a6d25cc38095 (patch) | |
| tree | ac59bd43b32548ebac576b2fddd6db86afa40f4b /quantum/quantum_keycodes.h | |
| parent | cb91320d6d8836dd13db19bd2434abe2e7cadc20 (diff) | |
| download | qmk_firmware-5229734647706054066c277ea348a6d25cc38095.tar.gz qmk_firmware-5229734647706054066c277ea348a6d25cc38095.zip | |
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.h | 2 |
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 { | |||
| 423 | RGB_MODE_KNIGHT, | 423 | RGB_MODE_KNIGHT, |
| 424 | RGB_MODE_XMAS, | 424 | RGB_MODE_XMAS, |
| 425 | RGB_MODE_GRADIENT, | 425 | RGB_MODE_GRADIENT, |
| 426 | RGB_MODE_RGBTEST, | ||
| 426 | 427 | ||
| 427 | // Left shift, open paren | 428 | // Left shift, open paren |
| 428 | KC_LSPO, | 429 | KC_LSPO, |
| @@ -586,6 +587,7 @@ enum quantum_keycodes { | |||
| 586 | #define RGB_M_K RGB_MODE_KNIGHT | 587 | #define RGB_M_K RGB_MODE_KNIGHT |
| 587 | #define RGB_M_X RGB_MODE_XMAS | 588 | #define RGB_M_X RGB_MODE_XMAS |
| 588 | #define RGB_M_G RGB_MODE_GRADIENT | 589 | #define RGB_M_G RGB_MODE_GRADIENT |
| 590 | #define RGB_M_T RGB_MODE_RGBTEST | ||
| 589 | 591 | ||
| 590 | // L-ayer, T-ap - 256 keycode max, 16 layer max | 592 | // L-ayer, T-ap - 256 keycode max, 16 layer max |
| 591 | #define LT(layer, kc) (kc | QK_LAYER_TAP | ((layer & 0xF) << 8)) | 593 | #define LT(layer, kc) (kc | QK_LAYER_TAP | ((layer & 0xF) << 8)) |
