diff options
author | Joel Challis <[email protected]> | 2019-12-16 20:27:53 +0000 |
---|---|---|
committer | Drashna Jaelre <[email protected]> | 2019-12-16 12:27:53 -0800 |
commit | ae40fc498b185d3d23908780a3d3425eb5ff05b5 (patch) | |
tree | 56d13173bdd6fae4faf4e88eb4c55a692c5878d2 /quantum/quantum.h | |
parent | 0082ecf1f3328eb45a865bf50d3f44ca632d9f7b (diff) | |
download | qmk_firmware-ae40fc498b185d3d23908780a3d3425eb5ff05b5.tar.gz qmk_firmware-ae40fc498b185d3d23908780a3d3425eb5ff05b5.zip |
Relocate RGB keycode processing (#7508)
* Move rgb keycode logic to process_keycode
* Fixes for rgb matrix
* Fixes for mxss
* Fix inc/dec logic, add comments
* Fix return RAINBOW_SWIRL logic
* stop external use of rgb helper functions
* merge fix
* Fix 'defined but not used' when all animations are disabled
Diffstat (limited to 'quantum/quantum.h')
-rw-r--r-- | quantum/quantum.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/quantum.h b/quantum/quantum.h index 2ee261e60d..b9e7eea24b 100644 --- a/quantum/quantum.h +++ b/quantum/quantum.h @@ -137,6 +137,10 @@ extern layer_state_t layer_state; # include "process_magic.h" #endif +#if defined(RGBLIGHT_ENABLE) || defined(RGB_MATRIX_ENABLE) +# include "process_rgb.h" +#endif + #ifdef HD44780_ENABLE # include "hd44780.h" #endif |