summaryrefslogtreecommitdiff
path: root/keyboards/8pack
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/8pack
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/8pack')
-rw-r--r--keyboards/8pack/config.h2
-rw-r--r--keyboards/8pack/info.json3
2 files changed, 2 insertions, 3 deletions
diff --git a/keyboards/8pack/config.h b/keyboards/8pack/config.h
index 5be5e67374..fe5d7a4982 100644
--- a/keyboards/8pack/config.h
+++ b/keyboards/8pack/config.h
@@ -6,8 +6,6 @@
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-#define BACKLIGHT_LEVELS 8
-
// ws2812 options
#define RGB_DI_PIN D2 // pin the DI on the ws2812 is hooked-up to
#define RGBLED_NUM 8 // number of LEDs
diff --git a/keyboards/8pack/info.json b/keyboards/8pack/info.json
index 2c7a34d487..3e6b556fae 100644
--- a/keyboards/8pack/info.json
+++ b/keyboards/8pack/info.json
@@ -8,7 +8,8 @@
"pid": "0x2171"
},
"backlight": {
- "pins": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"]
+ "pins": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"],
+ "levels": 8
},
"processor": "atmega32u4",
"bootloader": "caterina",