diff options
| -rw-r--r-- | common_features.mk | 12 | ||||
| -rw-r--r-- | keyboards/cannonkeys/ortho48/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/cannonkeys/ortho60/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/cannonkeys/ortho75/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/cannonkeys/practice60/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/cannonkeys/practice65/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/clueboard/66_hotswap/gen1/led.c | 1 | ||||
| -rw-r--r-- | keyboards/clueboard/66_hotswap/gen1/matrix.c | 1 | ||||
| -rw-r--r-- | keyboards/clueboard/66_hotswap/gen1/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/ergodox_infinity/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/whitefox/rules.mk | 1 |
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 |
| 344 | endif | 342 | endif |
| 345 | 343 | ||
| 344 | ifeq ($(strip $(VISUALIZER_ENABLE)), yes) | ||
| 345 | CIE1931_CURVE := yes | ||
| 346 | endif | ||
| 347 | |||
| 346 | ifeq ($(strip $(CIE1931_CURVE)), yes) | 348 | ifeq ($(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 | |||
| 22 | SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | 22 | SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend |
| 23 | NKRO_ENABLE = yes # USB Nkey Rollover | 23 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 24 | BACKLIGHT_ENABLE = yes | 24 | BACKLIGHT_ENABLE = yes |
| 25 | BACKLIGHT_DRIVER = custom | ||
| 25 | RGBLIGHT_ENABLE = yes | 26 | RGBLIGHT_ENABLE = yes |
| 26 | 27 | ||
| 27 | LAYOUTS = ortho_4x12 | 28 | LAYOUTS = 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 | |||
| 22 | SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | 22 | SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend |
| 23 | NKRO_ENABLE = yes # USB Nkey Rollover | 23 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 24 | BACKLIGHT_ENABLE = yes | 24 | BACKLIGHT_ENABLE = yes |
| 25 | BACKLIGHT_DRIVER = custom | ||
| 25 | RGBLIGHT_ENABLE = yes | 26 | RGBLIGHT_ENABLE = yes |
| 26 | 27 | ||
| 27 | LAYOUTS = ortho_5x12 | 28 | LAYOUTS = 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 | |||
| 22 | SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | 22 | SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend |
| 23 | NKRO_ENABLE = yes # USB Nkey Rollover | 23 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 24 | BACKLIGHT_ENABLE = yes | 24 | BACKLIGHT_ENABLE = yes |
| 25 | BACKLIGHT_DRIVER = custom | ||
| 25 | RGBLIGHT_ENABLE = yes | 26 | RGBLIGHT_ENABLE = yes |
| 26 | ENCODER_ENABLE = yes | 27 | ENCODER_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 | |||
| 22 | SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | 22 | SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend |
| 23 | NKRO_ENABLE = yes # USB Nkey Rollover | 23 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 24 | BACKLIGHT_ENABLE = yes | 24 | BACKLIGHT_ENABLE = yes |
| 25 | BACKLIGHT_DRIVER = custom | ||
| 25 | RGBLIGHT_ENABLE = yes | 26 | RGBLIGHT_ENABLE = yes |
| 26 | 27 | ||
| 27 | LAYOUTS = 60_ansi | 28 | LAYOUTS = 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 | |||
| 22 | SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | 22 | SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend |
| 23 | NKRO_ENABLE = yes # USB Nkey Rollover | 23 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 24 | BACKLIGHT_ENABLE = yes | 24 | BACKLIGHT_ENABLE = yes |
| 25 | BACKLIGHT_DRIVER = custom | ||
| 25 | RGBLIGHT_ENABLE = yes | 26 | RGBLIGHT_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 | # |
| 10 | BACKLIGHT_ENABLE = yes | ||
| 11 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration | 10 | BOOTMAGIC_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.) |
| 13 | MOUSEKEY_ENABLE = yes # Mouse keys | 12 | MOUSEKEY_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 | |||
| 79 | VISUALIZER_ENABLE = yes | 79 | VISUALIZER_ENABLE = yes |
| 80 | LCD_ENABLE = yes | 80 | LCD_ENABLE = yes |
| 81 | BACKLIGHT_ENABLE = yes | 81 | BACKLIGHT_ENABLE = yes |
| 82 | BACKLIGHT_DRIVER = custom | ||
| 82 | LCD_BACKLIGHT_ENABLE = yes | 83 | LCD_BACKLIGHT_ENABLE = yes |
| 83 | MIDI_ENABLE = no | 84 | MIDI_ENABLE = no |
| 84 | RGBLIGHT_ENABLE = no | 85 | RGBLIGHT_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 | |||
| 72 | NKRO_ENABLE = yes # USB Nkey Rollover | 72 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 73 | CUSTOM_MATRIX = yes # Custom matrix file | 73 | CUSTOM_MATRIX = yes # Custom matrix file |
| 74 | BACKLIGHT_ENABLE = yes | 74 | BACKLIGHT_ENABLE = yes |
| 75 | BACKLIGHT_DRIVER = custom | ||
| 75 | VISUALIZER_ENABLE = yes | 76 | VISUALIZER_ENABLE = yes |
| 76 | 77 | ||
| 77 | LED_DRIVER = is31fl3731c | 78 | LED_DRIVER = is31fl3731c |
