summaryrefslogtreecommitdiff
path: root/keyboards/checkerboards/quark_plus
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/quark_plus
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/checkerboards/quark_plus')
-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
3 files changed, 5 insertions, 6 deletions
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