summaryrefslogtreecommitdiff
path: root/keyboards/viendi8l
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/viendi8l
parent7d5b4adc502df7cd9e20ba96027fbfe728171b2e (diff)
Migrate lighting defaults to info.json (#22920)
Diffstat (limited to 'keyboards/viendi8l')
-rw-r--r--keyboards/viendi8l/config.h2
-rw-r--r--keyboards/viendi8l/info.json5
2 files changed, 4 insertions, 3 deletions
diff --git a/keyboards/viendi8l/config.h b/keyboards/viendi8l/config.h
index 0538906ecc..050a0cca22 100644
--- a/keyboards/viendi8l/config.h
+++ b/keyboards/viendi8l/config.h
@@ -33,8 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
-#define RGBLIGHT_DEFAULT_VAL 0
-
#define WS2812_PWM_COMPLEMENTARY_OUTPUT
#define WS2812_PWM_DRIVER PWMD1
#define WS2812_PWM_CHANNEL 3
diff --git a/keyboards/viendi8l/info.json b/keyboards/viendi8l/info.json
index d50b96a887..29dbd5b25a 100644
--- a/keyboards/viendi8l/info.json
+++ b/keyboards/viendi8l/info.json
@@ -9,7 +9,10 @@
"device_version": "0.0.1"
},
"rgblight": {
- "led_count": 4
+ "led_count": 4,
+ "default": {
+ "val": 0
+ }
},
"ws2812": {
"pin": "B15",