diff options
author | Ryan <fauxpark@gmail.com> | 2023-02-26 08:37:57 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-26 08:37:57 +1100 |
commit | 314f6c1ddba09851b33e4f3b4bd43bdbc55f9628 (patch) | |
tree | 8d0008ee0609b42ffbcbe19e52c3695ea5ab9280 /keyboards/checkerboards/nop60 | |
parent | ba7546a334ec56e70629652e8552dd493449e9db (diff) |
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/checkerboards/nop60')
-rw-r--r-- | keyboards/checkerboards/nop60/config.h | 4 | ||||
-rw-r--r-- | keyboards/checkerboards/nop60/info.json | 5 |
2 files changed, 5 insertions, 4 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": { |