summaryrefslogtreecommitdiff
path: root/keyboards/checkerboards
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-26 08:37:57 +1100
committerGitHub <noreply@github.com>2023-02-26 08:37:57 +1100
commit314f6c1ddba09851b33e4f3b4bd43bdbc55f9628 (patch)
tree8d0008ee0609b42ffbcbe19e52c3695ea5ab9280 /keyboards/checkerboards
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/checkerboards')
-rw-r--r--keyboards/checkerboards/nop60/config.h4
-rw-r--r--keyboards/checkerboards/nop60/info.json5
-rw-r--r--keyboards/checkerboards/quark_plus/config.h5
-rw-r--r--keyboards/checkerboards/quark_plus/info.json5
-rw-r--r--keyboards/checkerboards/quark_plus/rules.mk1
-rw-r--r--keyboards/checkerboards/snop60/config.h5
-rw-r--r--keyboards/checkerboards/snop60/info.json5
-rw-r--r--keyboards/checkerboards/snop60/rules.mk1
8 files changed, 15 insertions, 16 deletions
diff --git a/keyboards/checkerboards/nop60/config.h b/keyboards/checkerboards/nop60/config.h
index 23ef41da4c..adf72e2f65 100644
--- a/keyboards/checkerboards/nop60/config.h
+++ b/keyboards/checkerboards/nop60/config.h
@@ -25,11 +25,7 @@ Copyright 2021 Nathan Spears
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-/* Switch LED Backlighting */
-#define BACKLIGHT_PIN D1
#define BACKLIGHT_PWM_DRIVER PWMD3
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
// ws2812 options
#define RGB_DI_PIN D2 // pin the DI on the ws2812 is hooked-up to
diff --git a/keyboards/checkerboards/nop60/info.json b/keyboards/checkerboards/nop60/info.json
index 4ed4b82cb5..96467b7702 100644
--- a/keyboards/checkerboards/nop60/info.json
+++ b/keyboards/checkerboards/nop60/info.json
@@ -8,6 +8,11 @@
"pid": "0x1416",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "D1",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layout_aliases": {
diff --git a/keyboards/checkerboards/quark_plus/config.h b/keyboards/checkerboards/quark_plus/config.h
index 004fc8a177..b44a42406b 100644
--- a/keyboards/checkerboards/quark_plus/config.h
+++ b/keyboards/checkerboards/quark_plus/config.h
@@ -30,11 +30,6 @@
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-/* Switch LED Backlighting */
-#define BACKLIGHT_PIN C4
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
-
// ws2812 options
#define RGB_DI_PIN C5 // pin the DI on the ws2812 is hooked-up to
#define RGBLIGHT_EFFECT_BREATHING
diff --git a/keyboards/checkerboards/quark_plus/info.json b/keyboards/checkerboards/quark_plus/info.json
index 6685b84224..6c40827e74 100644
--- a/keyboards/checkerboards/quark_plus/info.json
+++ b/keyboards/checkerboards/quark_plus/info.json
@@ -8,6 +8,11 @@
"pid": "0x5344",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "C4",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "atmega32u2",
"bootloader": "atmel-dfu",
"layouts": {
diff --git a/keyboards/checkerboards/quark_plus/rules.mk b/keyboards/checkerboards/quark_plus/rules.mk
index 10772de547..c10c82105d 100644
--- a/keyboards/checkerboards/quark_plus/rules.mk
+++ b/keyboards/checkerboards/quark_plus/rules.mk
@@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-BACKLIGHT_DRIVER = pwm # Valid driver values are pwm, software, custom or no
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
ENCODER_ENABLE = yes # Enable rotary encoder
diff --git a/keyboards/checkerboards/snop60/config.h b/keyboards/checkerboards/snop60/config.h
index d9b5194a0b..92f1cd72e8 100644
--- a/keyboards/checkerboards/snop60/config.h
+++ b/keyboards/checkerboards/snop60/config.h
@@ -25,11 +25,6 @@ Copyright 2022 Nathan Spears
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-/* Switch LED Backlighting */
-#define BACKLIGHT_PIN D1
-#define BACKLIGHT_LEVELS 6
-#define BACKLIGHT_BREATHING
-
// ws2812 options
#define RGB_DI_PIN B1 // pin the DI on the ws2812 is hooked-up to
#define RGBLIGHT_EFFECT_BREATHING
diff --git a/keyboards/checkerboards/snop60/info.json b/keyboards/checkerboards/snop60/info.json
index 8866a2728e..b3e9645465 100644
--- a/keyboards/checkerboards/snop60/info.json
+++ b/keyboards/checkerboards/snop60/info.json
@@ -8,6 +8,11 @@
"pid": "0x2416",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "D1",
+ "levels": 6,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layout_aliases": {
diff --git a/keyboards/checkerboards/snop60/rules.mk b/keyboards/checkerboards/snop60/rules.mk
index 851dd43d3b..d24c9861b4 100644
--- a/keyboards/checkerboards/snop60/rules.mk
+++ b/keyboards/checkerboards/snop60/rules.mk
@@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-BACKLIGHT_DRIVER = pwm # Valid driver values are pwm, software, custom or no
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
ENCODER_ENBALE = yes # Enable Rotary Encoders