summaryrefslogtreecommitdiffstats
path: root/keyboards/ymdk/ymd09
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ymdk/ymd09')
-rw-r--r--keyboards/ymdk/ymd09/config.h1
-rw-r--r--keyboards/ymdk/ymd09/info.json35
2 files changed, 19 insertions, 17 deletions
diff --git a/keyboards/ymdk/ymd09/config.h b/keyboards/ymdk/ymd09/config.h
index 768d93d624..b66c41ad69 100644
--- a/keyboards/ymdk/ymd09/config.h
+++ b/keyboards/ymdk/ymd09/config.h
@@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGB_MATRIX_LED_COUNT 9
-#define RGB_DI_PIN E2
#define RGB_DISABLE_WHEN_USB_SUSPENDED
diff --git a/keyboards/ymdk/ymd09/info.json b/keyboards/ymdk/ymd09/info.json
index d34cf858b4..d9cb9f5086 100644
--- a/keyboards/ymdk/ymd09/info.json
+++ b/keyboards/ymdk/ymd09/info.json
@@ -8,6 +8,11 @@
"pid": "0x4409",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["D6", "D2", "D1"],
+ "rows": ["F5", "F4", "F1"]
+ },
+ "diode_direction": "ROW2COL",
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"features": {
@@ -17,16 +22,14 @@
"console": false,
"command": false,
"nkro": true,
- "rgb_matrix": true,
+ "rgb_matrix": true
+ },
+ "ws2812": {
+ "pin": "E2"
},
"build": {
"lto": true
},
- "diode_direction": "ROW2COL",
- "matrix_pins": {
- "cols": ["D6", "D2", "D1"],
- "rows": ["F5", "F4", "F1"]
- },
"layouts": {
"LAYOUT": {
"layout": [
@@ -45,16 +48,16 @@
"rgb_matrix": {
"driver": "WS2812",
"layout": [
- { "flags": 4, "matrix": [0, 2], "x": 64, "y": 0 }, //7
- { "flags": 4, "matrix": [0, 1], "x": 32, "y": 0 }, //8
- { "flags": 4, "matrix": [0, 0], "x": 0, "y": 0 }, //9
- { "flags": 4, "matrix": [1, 2], "x": 64, "y": 32 }, //4
- { "flags": 4, "matrix": [1, 1], "x": 32, "y": 32 }, //5
- { "flags": 4, "matrix": [1, 0], "x": 0, "y": 32 }, //6
- { "flags": 4, "matrix": [2, 2], "x": 64, "y": 64 }, //1
- { "flags": 4, "matrix": [2, 1], "x": 32, "y": 64 }, //2
- { "flags": 4, "matrix": [2, 0], "x": 0, "y": 64 } //3
+ {"flags": 4, "matrix": [0, 2], "x": 64, "y": 0}, //7
+ {"flags": 4, "matrix": [0, 1], "x": 32, "y": 0}, //8
+ {"flags": 4, "matrix": [0, 0], "x": 0, "y": 0}, //9
+ {"flags": 4, "matrix": [1, 2], "x": 64, "y": 32}, //4
+ {"flags": 4, "matrix": [1, 1], "x": 32, "y": 32}, //5
+ {"flags": 4, "matrix": [1, 0], "x": 0, "y": 32}, //6
+ {"flags": 4, "matrix": [2, 2], "x": 64, "y": 64}, //1
+ {"flags": 4, "matrix": [2, 1], "x": 32, "y": 64}, //2
+ {"flags": 4, "matrix": [2, 0], "x": 0, "y": 64} //3
],
- "center_point": [ 32, 32 ],
+ "center_point": [32, 32]
}
}