aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/quantum.h
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2019-12-16 20:27:53 +0000
committerDrashna Jaelre <drashna@live.com>2019-12-16 12:27:53 -0800
commitae40fc498b185d3d23908780a3d3425eb5ff05b5 (patch)
tree56d13173bdd6fae4faf4e88eb4c55a692c5878d2 /quantum/quantum.h
parent0082ecf1f3328eb45a865bf50d3f44ca632d9f7b (diff)
downloadfirmware-ae40fc498b185d3d23908780a3d3425eb5ff05b5.tar.gz
firmware-ae40fc498b185d3d23908780a3d3425eb5ff05b5.tar.bz2
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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/quantum.h b/quantum/quantum.h
index 2ee261e60..b9e7eea24 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