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/keebio/levinson | |
parent | ba7546a334ec56e70629652e8552dd493449e9db (diff) |
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/keebio/levinson')
-rw-r--r-- | keyboards/keebio/levinson/rev1/config.h | 4 | ||||
-rw-r--r-- | keyboards/keebio/levinson/rev1/info.json | 4 | ||||
-rw-r--r-- | keyboards/keebio/levinson/rev2/config.h | 4 | ||||
-rw-r--r-- | keyboards/keebio/levinson/rev2/info.json | 4 | ||||
-rw-r--r-- | keyboards/keebio/levinson/rev3/config.h | 4 | ||||
-rw-r--r-- | keyboards/keebio/levinson/rev3/info.json | 4 |
6 files changed, 12 insertions, 12 deletions
diff --git a/keyboards/keebio/levinson/rev1/config.h b/keyboards/keebio/levinson/rev1/config.h index 3f25206780..c64d1a9e9e 100644 --- a/keyboards/keebio/levinson/rev1/config.h +++ b/keyboards/keebio/levinson/rev1/config.h @@ -34,7 +34,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define RGB_DI_PIN D3 #define RGBLED_NUM 12 // Number of LEDs #define RGBLED_SPLIT { 6, 6 } - -/* Backlight LEDs */ -#define BACKLIGHT_PIN C6 -#define BACKLIGHT_LEVELS 7 diff --git a/keyboards/keebio/levinson/rev1/info.json b/keyboards/keebio/levinson/rev1/info.json index 82eafa2db4..05416bd138 100644 --- a/keyboards/keebio/levinson/rev1/info.json +++ b/keyboards/keebio/levinson/rev1/info.json @@ -6,5 +6,9 @@ "usb": { "pid": "0x1146", "device_version": "1.0.0" + }, + "backlight": { + "pin": "C6", + "levels": 7 } } diff --git a/keyboards/keebio/levinson/rev2/config.h b/keyboards/keebio/levinson/rev2/config.h index 4419aacc4c..88c38bc9ab 100644 --- a/keyboards/keebio/levinson/rev2/config.h +++ b/keyboards/keebio/levinson/rev2/config.h @@ -34,7 +34,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define RGB_DI_PIN D3 #define RGBLED_NUM 12 // Number of LEDs #define RGBLED_SPLIT { 6, 6 } - -/* Backlight LEDs */ -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_LEVELS 7 diff --git a/keyboards/keebio/levinson/rev2/info.json b/keyboards/keebio/levinson/rev2/info.json index 0ef0ca8d5b..dbd0901737 100644 --- a/keyboards/keebio/levinson/rev2/info.json +++ b/keyboards/keebio/levinson/rev2/info.json @@ -6,5 +6,9 @@ "usb": { "pid": "0x2146", "device_version": "2.0.0" + }, + "backlight": { + "pin": "B5", + "levels": 7 } } diff --git a/keyboards/keebio/levinson/rev3/config.h b/keyboards/keebio/levinson/rev3/config.h index 5b2be68b62..be2be855d0 100644 --- a/keyboards/keebio/levinson/rev3/config.h +++ b/keyboards/keebio/levinson/rev3/config.h @@ -37,7 +37,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define RGB_DI_PIN D7 #define RGBLED_NUM 12 // Number of LEDs #define RGBLED_SPLIT { 6, 6 } - -/* Backlight LEDs */ -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_LEVELS 7 diff --git a/keyboards/keebio/levinson/rev3/info.json b/keyboards/keebio/levinson/rev3/info.json index e64545458e..8cc3fa9fb9 100644 --- a/keyboards/keebio/levinson/rev3/info.json +++ b/keyboards/keebio/levinson/rev3/info.json @@ -6,5 +6,9 @@ "usb": { "pid": "0x3146", "device_version": "3.0.0" + }, + "backlight": { + "pin": "B6", + "levels": 7 } } |