summaryrefslogtreecommitdiffstats
path: root/keyboards/yandrstudio/eau_r2
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/yandrstudio/eau_r2')
-rw-r--r--keyboards/yandrstudio/eau_r2/config.h7
-rw-r--r--keyboards/yandrstudio/eau_r2/info.json8
2 files changed, 8 insertions, 7 deletions
diff --git a/keyboards/yandrstudio/eau_r2/config.h b/keyboards/yandrstudio/eau_r2/config.h
index d1405b2bbf..110f0d096c 100644
--- a/keyboards/yandrstudio/eau_r2/config.h
+++ b/keyboards/yandrstudio/eau_r2/config.h
@@ -15,15 +15,8 @@
*/
#pragma once
-#define MATRIX_COL_PINS { B7, A6, B6, B5, B4, B3, A5, A10, B1, B0, A7, A9, B11, B10, B2, A15, B15 }
-#define MATRIX_ROW_PINS { A3, B9, B8, A4, C14, C13 }
-
-/* COL2ROW or ROW2COL */
-#define DIODE_DIRECTION COL2ROW
-
#ifdef RGBLIGHT_ENABLE
-# define RGB_DI_PIN A8
# define RGBLED_NUM 12
# define RGBLIGHT_SLEEP
# define RGBLIGHT_VAL_STEP 5
diff --git a/keyboards/yandrstudio/eau_r2/info.json b/keyboards/yandrstudio/eau_r2/info.json
index 74f5dd6e86..bdf9be5f1e 100644
--- a/keyboards/yandrstudio/eau_r2/info.json
+++ b/keyboards/yandrstudio/eau_r2/info.json
@@ -6,6 +6,14 @@
"pid": "0xAACD",
"device_version": "1.0.0"
},
+ "matrix_pins": {
+ "cols": ["B7", "A6", "B6", "B5", "B4", "B3", "A5", "A10", "B1", "B0", "A7", "A9", "B11", "B10", "B2", "A15", "B15"],
+ "rows": ["A3", "B9", "B8", "A4", "C14", "C13"]
+ },
+ "diode_direction": "COL2ROW",
+ "ws2812": {
+ "pin": "A8"
+ },
"debounce": 8,
"layouts": {
"LAYOUT": {