summaryrefslogtreecommitdiff
path: root/keyboards/capsunlocked/cu24
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/capsunlocked/cu24
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/capsunlocked/cu24')
-rw-r--r--keyboards/capsunlocked/cu24/config.h5
-rw-r--r--keyboards/capsunlocked/cu24/info.json5
2 files changed, 5 insertions, 5 deletions
diff --git a/keyboards/capsunlocked/cu24/config.h b/keyboards/capsunlocked/cu24/config.h
index 7576a85d51..65f64c2f09 100644
--- a/keyboards/capsunlocked/cu24/config.h
+++ b/keyboards/capsunlocked/cu24/config.h
@@ -33,11 +33,6 @@
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION ROW2COL
-/* Backlight */
-#define BACKLIGHT_PIN B5
-#define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 5
-
/* RGB Glow */
#define RGB_DI_PIN F4 // The pin the LED strip is connected to
#define RGBLED_NUM 5 // Number of LEDs in your strip
diff --git a/keyboards/capsunlocked/cu24/info.json b/keyboards/capsunlocked/cu24/info.json
index 03e87e6da6..ea361a2bf4 100644
--- a/keyboards/capsunlocked/cu24/info.json
+++ b/keyboards/capsunlocked/cu24/info.json
@@ -8,6 +8,11 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B5",
+ "levels": 5,
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {