aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common_features.mk12
-rw-r--r--keyboards/cannonkeys/ortho48/rules.mk1
-rw-r--r--keyboards/cannonkeys/ortho60/rules.mk1
-rw-r--r--keyboards/cannonkeys/ortho75/rules.mk1
-rw-r--r--keyboards/cannonkeys/practice60/rules.mk1
-rw-r--r--keyboards/cannonkeys/practice65/rules.mk1
-rw-r--r--keyboards/clueboard/66_hotswap/gen1/led.c1
-rw-r--r--keyboards/clueboard/66_hotswap/gen1/matrix.c1
-rw-r--r--keyboards/clueboard/66_hotswap/gen1/rules.mk1
-rw-r--r--keyboards/ergodox_infinity/rules.mk1
-rw-r--r--keyboards/whitefox/rules.mk1
11 files changed, 14 insertions, 8 deletions
diff --git a/common_features.mk b/common_features.mk
index a431923bc..93c34c7d5 100644
--- a/common_features.mk
+++ b/common_features.mk
@@ -175,7 +175,9 @@ ifneq ($(strip $(LED_MATRIX_ENABLE)), no)
175 ifeq ($(filter $(LED_MATRIX_ENABLE),$(VALID_MATRIX_TYPES)),) 175 ifeq ($(filter $(LED_MATRIX_ENABLE),$(VALID_MATRIX_TYPES)),)
176 $(error LED_MATRIX_ENABLE="$(LED_MATRIX_ENABLE)" is not a valid matrix type) 176 $(error LED_MATRIX_ENABLE="$(LED_MATRIX_ENABLE)" is not a valid matrix type)
177 else 177 else
178 OPT_DEFS += -DLED_MATRIX_ENABLE -DBACKLIGHT_ENABLE -DBACKLIGHT_CUSTOM_DRIVER 178 BACKLIGHT_ENABLE = yes
179 BACKLIGHT_DRIVER = custom
180 OPT_DEFS += -DLED_MATRIX_ENABLE
179 SRC += $(QUANTUM_DIR)/led_matrix.c 181 SRC += $(QUANTUM_DIR)/led_matrix.c
180 SRC += $(QUANTUM_DIR)/led_matrix_drivers.c 182 SRC += $(QUANTUM_DIR)/led_matrix_drivers.c
181 endif 183 endif
@@ -300,10 +302,6 @@ ifeq ($(strip $(BACKLIGHT_ENABLE)), yes)
300 $(error BACKLIGHT_DRIVER="$(BACKLIGHT_DRIVER)" is not a valid backlight type) 302 $(error BACKLIGHT_DRIVER="$(BACKLIGHT_DRIVER)" is not a valid backlight type)
301 endif 303 endif
302 304
303 ifeq ($(strip $(VISUALIZER_ENABLE)), yes)
304 CIE1931_CURVE := yes
305 endif
306
307 COMMON_VPATH += $(QUANTUM_DIR)/backlight 305 COMMON_VPATH += $(QUANTUM_DIR)/backlight
308 SRC += $(QUANTUM_DIR)/backlight/backlight.c 306 SRC += $(QUANTUM_DIR)/backlight/backlight.c
309 OPT_DEFS += -DBACKLIGHT_ENABLE 307 OPT_DEFS += -DBACKLIGHT_ENABLE
@@ -343,6 +341,10 @@ ifeq ($(strip $(WS2812_DRIVER_REQUIRED)), yes)
343 endif 341 endif
344endif 342endif
345 343
344ifeq ($(strip $(VISUALIZER_ENABLE)), yes)
345 CIE1931_CURVE := yes
346endif
347
346ifeq ($(strip $(CIE1931_CURVE)), yes) 348ifeq ($(strip $(CIE1931_CURVE)), yes)
347 OPT_DEFS += -DUSE_CIE1931_CURVE 349 OPT_DEFS += -DUSE_CIE1931_CURVE
348 LED_TABLES := yes 350 LED_TABLES := yes
diff --git a/keyboards/cannonkeys/ortho48/rules.mk b/keyboards/cannonkeys/ortho48/rules.mk
index 4bca8fde0..808bcacf2 100644
--- a/keyboards/cannonkeys/ortho48/rules.mk
+++ b/keyboards/cannonkeys/ortho48/rules.mk
@@ -22,6 +22,7 @@ COMMAND_ENABLE = yes # Commands for debug and configuration
22SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend 22SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
23NKRO_ENABLE = yes # USB Nkey Rollover 23NKRO_ENABLE = yes # USB Nkey Rollover
24BACKLIGHT_ENABLE = yes 24BACKLIGHT_ENABLE = yes
25BACKLIGHT_DRIVER = custom
25RGBLIGHT_ENABLE = yes 26RGBLIGHT_ENABLE = yes
26 27
27LAYOUTS = ortho_4x12 28LAYOUTS = ortho_4x12
diff --git a/keyboards/cannonkeys/ortho60/rules.mk b/keyboards/cannonkeys/ortho60/rules.mk
index d2fa535f4..bd79bb7ea 100644
--- a/keyboards/cannonkeys/ortho60/rules.mk
+++ b/keyboards/cannonkeys/ortho60/rules.mk
@@ -22,6 +22,7 @@ COMMAND_ENABLE = yes # Commands for debug and configuration
22SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend 22SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
23NKRO_ENABLE = yes # USB Nkey Rollover 23NKRO_ENABLE = yes # USB Nkey Rollover
24BACKLIGHT_ENABLE = yes 24BACKLIGHT_ENABLE = yes
25BACKLIGHT_DRIVER = custom
25RGBLIGHT_ENABLE = yes 26RGBLIGHT_ENABLE = yes
26 27
27LAYOUTS = ortho_5x12 28LAYOUTS = ortho_5x12
diff --git a/keyboards/cannonkeys/ortho75/rules.mk b/keyboards/cannonkeys/ortho75/rules.mk
index 5b90e87fd..e5e832dba 100644
--- a/keyboards/cannonkeys/ortho75/rules.mk
+++ b/keyboards/cannonkeys/ortho75/rules.mk
@@ -22,6 +22,7 @@ COMMAND_ENABLE = yes # Commands for debug and configuration
22SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend 22SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
23NKRO_ENABLE = yes # USB Nkey Rollover 23NKRO_ENABLE = yes # USB Nkey Rollover
24BACKLIGHT_ENABLE = yes 24BACKLIGHT_ENABLE = yes
25BACKLIGHT_DRIVER = custom
25RGBLIGHT_ENABLE = yes 26RGBLIGHT_ENABLE = yes
26ENCODER_ENABLE = yes 27ENCODER_ENABLE = yes
27 28
diff --git a/keyboards/cannonkeys/practice60/rules.mk b/keyboards/cannonkeys/practice60/rules.mk
index 7c3fec31e..1fae41d66 100644
--- a/keyboards/cannonkeys/practice60/rules.mk
+++ b/keyboards/cannonkeys/practice60/rules.mk
@@ -22,6 +22,7 @@ COMMAND_ENABLE = yes # Commands for debug and configuration
22SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend 22SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
23NKRO_ENABLE = yes # USB Nkey Rollover 23NKRO_ENABLE = yes # USB Nkey Rollover
24BACKLIGHT_ENABLE = yes 24BACKLIGHT_ENABLE = yes
25BACKLIGHT_DRIVER = custom
25RGBLIGHT_ENABLE = yes 26RGBLIGHT_ENABLE = yes
26 27
27LAYOUTS = 60_ansi 28LAYOUTS = 60_ansi
diff --git a/keyboards/cannonkeys/practice65/rules.mk b/keyboards/cannonkeys/practice65/rules.mk
index b43e591ae..122dcf8f2 100644
--- a/keyboards/cannonkeys/practice65/rules.mk
+++ b/keyboards/cannonkeys/practice65/rules.mk
@@ -22,4 +22,5 @@ COMMAND_ENABLE = yes # Commands for debug and configuration
22SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend 22SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
23NKRO_ENABLE = yes # USB Nkey Rollover 23NKRO_ENABLE = yes # USB Nkey Rollover
24BACKLIGHT_ENABLE = yes 24BACKLIGHT_ENABLE = yes
25BACKLIGHT_DRIVER = custom
25RGBLIGHT_ENABLE = yes 26RGBLIGHT_ENABLE = yes
diff --git a/keyboards/clueboard/66_hotswap/gen1/led.c b/keyboards/clueboard/66_hotswap/gen1/led.c
index efbf53202..f67259d2e 100644
--- a/keyboards/clueboard/66_hotswap/gen1/led.c
+++ b/keyboards/clueboard/66_hotswap/gen1/led.c
@@ -16,6 +16,5 @@
16*/ 16*/
17 17
18#include "hal.h" 18#include "hal.h"
19#include "backlight.h"
20#include "led.h" 19#include "led.h"
21#include "printf.h" 20#include "printf.h"
diff --git a/keyboards/clueboard/66_hotswap/gen1/matrix.c b/keyboards/clueboard/66_hotswap/gen1/matrix.c
index c3e59b564..05386215e 100644
--- a/keyboards/clueboard/66_hotswap/gen1/matrix.c
+++ b/keyboards/clueboard/66_hotswap/gen1/matrix.c
@@ -5,7 +5,6 @@
5#include "timer.h" 5#include "timer.h"
6#include "wait.h" 6#include "wait.h"
7#include "printf.h" 7#include "printf.h"
8#include "backlight.h"
9#include "matrix.h" 8#include "matrix.h"
10#include "action.h" 9#include "action.h"
11#include "keycode.h" 10#include "keycode.h"
diff --git a/keyboards/clueboard/66_hotswap/gen1/rules.mk b/keyboards/clueboard/66_hotswap/gen1/rules.mk
index 50f140def..1de003ce5 100644
--- a/keyboards/clueboard/66_hotswap/gen1/rules.mk
+++ b/keyboards/clueboard/66_hotswap/gen1/rules.mk
@@ -7,7 +7,6 @@ LED_MATRIX_ENABLE = IS31FL3731
7# Build Options 7# Build Options
8# comment out to disable the options. 8# comment out to disable the options.
9# 9#
10BACKLIGHT_ENABLE = yes
11BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration 10BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration
12## (Note that for BOOTMAGIC on Teensy LC you have to use a custom .ld script.) 11## (Note that for BOOTMAGIC on Teensy LC you have to use a custom .ld script.)
13MOUSEKEY_ENABLE = yes # Mouse keys 12MOUSEKEY_ENABLE = yes # Mouse keys
diff --git a/keyboards/ergodox_infinity/rules.mk b/keyboards/ergodox_infinity/rules.mk
index b55c9bc8c..4e39ac808 100644
--- a/keyboards/ergodox_infinity/rules.mk
+++ b/keyboards/ergodox_infinity/rules.mk
@@ -79,6 +79,7 @@ SERIAL_LINK_ENABLE = yes
79VISUALIZER_ENABLE = yes 79VISUALIZER_ENABLE = yes
80LCD_ENABLE = yes 80LCD_ENABLE = yes
81BACKLIGHT_ENABLE = yes 81BACKLIGHT_ENABLE = yes
82BACKLIGHT_DRIVER = custom
82LCD_BACKLIGHT_ENABLE = yes 83LCD_BACKLIGHT_ENABLE = yes
83MIDI_ENABLE = no 84MIDI_ENABLE = no
84RGBLIGHT_ENABLE = no 85RGBLIGHT_ENABLE = no
diff --git a/keyboards/whitefox/rules.mk b/keyboards/whitefox/rules.mk
index 59332d1d5..7b3328500 100644
--- a/keyboards/whitefox/rules.mk
+++ b/keyboards/whitefox/rules.mk
@@ -72,6 +72,7 @@ COMMAND_ENABLE = yes # Commands for debug and configuration
72NKRO_ENABLE = yes # USB Nkey Rollover 72NKRO_ENABLE = yes # USB Nkey Rollover
73CUSTOM_MATRIX = yes # Custom matrix file 73CUSTOM_MATRIX = yes # Custom matrix file
74BACKLIGHT_ENABLE = yes 74BACKLIGHT_ENABLE = yes
75BACKLIGHT_DRIVER = custom
75VISUALIZER_ENABLE = yes 76VISUALIZER_ENABLE = yes
76 77
77LED_DRIVER = is31fl3731c 78LED_DRIVER = is31fl3731c