summaryrefslogtreecommitdiff
path: root/keyboards/linworks/favepada
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-01-08 04:41:01 +0000
committerGitHub <noreply@github.com>2024-01-08 04:41:01 +0000
commit7fb8dd1440caf933da6ef4f6b21c3b8af0bc920b (patch)
tree26c1826930b025a4c94e2a47f65b01ffc3c1c6f3 /keyboards/linworks/favepada
parentce34549c26ece884f78c7c245ddf9a37143a0757 (diff)
Migrate RGB Matrix config to info.json - L (#22864)
Diffstat (limited to 'keyboards/linworks/favepada')
-rw-r--r--keyboards/linworks/favepada/config.h11
-rw-r--r--keyboards/linworks/favepada/info.json8
2 files changed, 6 insertions, 13 deletions
diff --git a/keyboards/linworks/favepada/config.h b/keyboards/linworks/favepada/config.h
deleted file mode 100644
index e87c7024ed..0000000000
--- a/keyboards/linworks/favepada/config.h
+++ /dev/null
@@ -1,11 +0,0 @@
-// Copyright 2023 ziptyze (@ziptyze)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-/* Define RGB */
-#define RGB_MATRIX_LED_COUNT 37
-#define RGB_MATRIX_SLEEP
-#define RGB_MATRIX_KEYPRESSES
-#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
-#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_CYCLE_ALL
diff --git a/keyboards/linworks/favepada/info.json b/keyboards/linworks/favepada/info.json
index 005d7d06d0..2b5adcf0a6 100644
--- a/keyboards/linworks/favepada/info.json
+++ b/keyboards/linworks/favepada/info.json
@@ -9,7 +9,7 @@
"extrakey": true,
"mousekey": true,
"nkro": true,
- "rgb_matrix": true,
+ "rgb_matrix": true
},
"matrix_pins": {
"cols": ["A14", "A15", "B3", "B4"],
@@ -58,6 +58,9 @@
"solid_splash": true,
"solid_multisplash": true
},
+ "default": {
+ "animation": "cycle_all"
+ },
"driver": "ws2812",
"layout": [
{ "flags": 1, "matrix": [5, 2], "x": 149, "y": 59 },
@@ -98,7 +101,8 @@
{ "flags": 4, "x": 224, "y": 31 },
{ "flags": 4, "x": 224, "y": 18 }
],
- "max_brightness": 120
+ "max_brightness": 120,
+ "sleep": true
},
"ws2812": {
"pin": "B1"