summaryrefslogtreecommitdiff
path: root/keyboards/tweetydabird
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-02-01 18:10:14 +0000
committerGitHub <noreply@github.com>2024-02-01 18:10:14 +0000
commit2f37a7854ddb0055eff7cb605492a57ff5061eb2 (patch)
tree95a990fb8cb1ec8b47c8760708d7541fa042f4ba /keyboards/tweetydabird
parent7d5b4adc502df7cd9e20ba96027fbfe728171b2e (diff)
Migrate lighting defaults to info.json (#22920)
Diffstat (limited to 'keyboards/tweetydabird')
-rw-r--r--keyboards/tweetydabird/lotus58/config.h9
-rw-r--r--keyboards/tweetydabird/lotus58/info.json6
2 files changed, 6 insertions, 9 deletions
diff --git a/keyboards/tweetydabird/lotus58/config.h b/keyboards/tweetydabird/lotus58/config.h
deleted file mode 100644
index 4175568d40..0000000000
--- a/keyboards/tweetydabird/lotus58/config.h
+++ /dev/null
@@ -1,9 +0,0 @@
-// Copyright 2022 Markus Knutsson (@TweetyDaBird)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-// Options not yet fully implemented in info.json
-#define RGBLIGHT_DEFAULT_VAL 87
-
-#define SPLIT_HAND_PIN B5
diff --git a/keyboards/tweetydabird/lotus58/info.json b/keyboards/tweetydabird/lotus58/info.json
index 751f57c519..646843e765 100644
--- a/keyboards/tweetydabird/lotus58/info.json
+++ b/keyboards/tweetydabird/lotus58/info.json
@@ -32,6 +32,9 @@
"pin_compatible": "promicro",
"processor": "atmega32u4",
"rgblight": {
+ "default": {
+ "val": 87
+ },
"led_count": 70,
"max_brightness": 175,
"sleep": true,
@@ -50,6 +53,9 @@
]
}
},
+ "handedness": {
+ "pin": "B5"
+ },
"soft_serial_pin": "D2",
"transport": {
"protocol": "serial",