2020-02-08 03:15:35 +00:00
|
|
|
{
|
2022-08-06 08:52:13 +00:00
|
|
|
"keyboard_name": "NP21",
|
|
|
|
"manufacturer": "YMDK",
|
2020-02-08 03:15:35 +00:00
|
|
|
"maintainer": "qmk",
|
2022-08-06 08:52:13 +00:00
|
|
|
"usb": {
|
|
|
|
"vid": "0x594D",
|
|
|
|
"pid": "0x5021",
|
|
|
|
"device_version": "2.0.0"
|
|
|
|
},
|
2023-03-05 22:53:52 +00:00
|
|
|
"matrix_pins": {
|
|
|
|
"cols": ["A0", "A1", "A2", "A3", "A4", "A5"],
|
|
|
|
"rows": ["B0", "B1", "B2", "B3"]
|
|
|
|
},
|
|
|
|
"diode_direction": "COL2ROW",
|
2023-02-25 21:37:57 +00:00
|
|
|
"backlight": {
|
|
|
|
"pin": "D4",
|
|
|
|
"levels": 12,
|
|
|
|
"breathing": true
|
|
|
|
},
|
2023-03-26 07:22:12 +00:00
|
|
|
"ws2812": {
|
|
|
|
"driver": "i2c"
|
|
|
|
},
|
2023-02-17 02:14:29 +00:00
|
|
|
"indicators": {
|
|
|
|
"num_lock": "D0"
|
|
|
|
},
|
2023-02-08 07:41:46 +00:00
|
|
|
"processor": "atmega32a",
|
|
|
|
"bootloader": "bootloadhid",
|
Migrate `LAYOUTS` to data driven (#19541)
* Migrate `LAYOUTS` to data driven, 0-9
* Migrate `LAYOUTS` to data driven, A
* Migrate `LAYOUTS` to data driven, B
* Migrate `LAYOUTS` to data driven, C
* Migrate `LAYOUTS` to data driven, D
* Migrate `LAYOUTS` to data driven, E
* Migrate `LAYOUTS` to data driven, F
* Migrate `LAYOUTS` to data driven, G
* Migrate `LAYOUTS` to data driven, H
* Migrate `LAYOUTS` to data driven, handwired
* Migrate `LAYOUTS` to data driven, I
* Migrate `LAYOUTS` to data driven, J
* Migrate `LAYOUTS` to data driven, K
* Migrate `LAYOUTS` to data driven, L
* Migrate `LAYOUTS` to data driven, M
* Migrate `LAYOUTS` to data driven, N
* Migrate `LAYOUTS` to data driven, O
* Migrate `LAYOUTS` to data driven, P
* Migrate `LAYOUTS` to data driven, Q
* Migrate `LAYOUTS` to data driven, R
* Migrate `LAYOUTS` to data driven, S
* Migrate `LAYOUTS` to data driven, T
* Migrate `LAYOUTS` to data driven, U
* Migrate `LAYOUTS` to data driven, V
* Migrate `LAYOUTS` to data driven, W
* Migrate `LAYOUTS` to data driven, X
* Migrate `LAYOUTS` to data driven, Y
* Migrate `LAYOUTS` to data driven, Z
2023-01-10 02:48:20 +00:00
|
|
|
"community_layouts": ["ortho_6x4", "numpad_6x4"],
|
2023-03-29 04:54:34 +00:00
|
|
|
"layout_aliases": {
|
|
|
|
"LAYOUT": "LAYOUT_ortho_4x6"
|
|
|
|
},
|
2020-02-08 03:15:35 +00:00
|
|
|
"layouts": {
|
|
|
|
"LAYOUT_ortho_6x4": {
|
|
|
|
"layout": [
|
2023-03-29 04:54:34 +00:00
|
|
|
{"matrix": [0, 0], "x": 0, "y": 0},
|
|
|
|
{"matrix": [1, 0], "x": 1, "y": 0},
|
|
|
|
{"matrix": [2, 0], "x": 2, "y": 0},
|
|
|
|
{"matrix": [3, 0], "x": 3, "y": 0},
|
2020-09-01 05:30:07 +00:00
|
|
|
|
2023-03-29 04:54:34 +00:00
|
|
|
{"matrix": [0, 1], "x": 0, "y": 1.25},
|
|
|
|
{"matrix": [1, 1], "x": 1, "y": 1.25},
|
|
|
|
{"matrix": [2, 1], "x": 2, "y": 1.25},
|
|
|
|
{"matrix": [3, 1], "x": 3, "y": 1.25},
|
2020-09-01 05:30:07 +00:00
|
|
|
|
2023-03-29 04:54:34 +00:00
|
|
|
{"matrix": [0, 2], "x": 0, "y": 2.25},
|
|
|
|
{"matrix": [1, 2], "x": 1, "y": 2.25},
|
|
|
|
{"matrix": [2, 2], "x": 2, "y": 2.25},
|
|
|
|
{"matrix": [3, 2], "x": 3, "y": 2.25},
|
2020-09-01 05:30:07 +00:00
|
|
|
|
2023-03-29 04:54:34 +00:00
|
|
|
{"matrix": [0, 3], "x": 0, "y": 3.25},
|
|
|
|
{"matrix": [1, 3], "x": 1, "y": 3.25},
|
|
|
|
{"matrix": [2, 3], "x": 2, "y": 3.25},
|
|
|
|
{"matrix": [3, 3], "x": 3, "y": 3.25},
|
2020-09-01 05:30:07 +00:00
|
|
|
|
2023-03-29 04:54:34 +00:00
|
|
|
{"matrix": [0, 4], "x": 0, "y": 4.25},
|
|
|
|
{"matrix": [1, 4], "x": 1, "y": 4.25},
|
|
|
|
{"matrix": [2, 4], "x": 2, "y": 4.25},
|
|
|
|
{"matrix": [3, 4], "x": 3, "y": 4.25},
|
2020-09-01 05:30:07 +00:00
|
|
|
|
2023-03-29 04:54:34 +00:00
|
|
|
{"matrix": [0, 5], "x": 0, "y": 5.25},
|
|
|
|
{"matrix": [1, 5], "x": 1, "y": 5.25},
|
|
|
|
{"matrix": [2, 5], "x": 2, "y": 5.25},
|
|
|
|
{"matrix": [3, 5], "x": 3, "y": 5.25}
|
2020-02-08 03:15:35 +00:00
|
|
|
]
|
|
|
|
},
|
2020-09-01 05:30:07 +00:00
|
|
|
"LAYOUT_ortho_4x6": {
|
2020-02-08 03:15:35 +00:00
|
|
|
"layout": [
|
2023-03-29 04:54:34 +00:00
|
|
|
{"matrix": [0, 5], "x": 0, "y": 0},
|
|
|
|
{"matrix": [0, 4], "x": 1, "y": 0},
|
|
|
|
{"matrix": [0, 3], "x": 2, "y": 0},
|
|
|
|
{"matrix": [0, 2], "x": 3, "y": 0},
|
|
|
|
{"matrix": [0, 1], "x": 4, "y": 0},
|
|
|
|
{"matrix": [0, 0], "x": 5.25, "y": 0},
|
2020-09-01 05:30:07 +00:00
|
|
|
|
2023-03-29 04:54:34 +00:00
|
|
|
{"matrix": [1, 5], "x": 0, "y": 1},
|
|
|
|
{"matrix": [1, 4], "x": 1, "y": 1},
|
|
|
|
{"matrix": [1, 3], "x": 2, "y": 1},
|
|
|
|
{"matrix": [1, 2], "x": 3, "y": 1},
|
|
|
|
{"matrix": [1, 1], "x": 4, "y": 1},
|
|
|
|
{"matrix": [1, 0], "x": 5.25, "y": 1},
|
2020-09-01 05:30:07 +00:00
|
|
|
|
2023-03-29 04:54:34 +00:00
|
|
|
{"matrix": [2, 5], "x": 0, "y": 2},
|
|
|
|
{"matrix": [2, 4], "x": 1, "y": 2},
|
|
|
|
{"matrix": [2, 3], "x": 2, "y": 2},
|
|
|
|
{"matrix": [2, 2], "x": 3, "y": 2},
|
|
|
|
{"matrix": [2, 1], "x": 4, "y": 2},
|
|
|
|
{"matrix": [2, 0], "x": 5.25, "y": 2},
|
2020-09-01 05:30:07 +00:00
|
|
|
|
2023-03-29 04:54:34 +00:00
|
|
|
{"matrix": [3, 5], "x": 0, "y": 3},
|
|
|
|
{"matrix": [3, 4], "x": 1, "y": 3},
|
|
|
|
{"matrix": [3, 3], "x": 2, "y": 3},
|
|
|
|
{"matrix": [3, 2], "x": 3, "y": 3},
|
|
|
|
{"matrix": [3, 1], "x": 4, "y": 3},
|
|
|
|
{"matrix": [3, 0], "x": 5.25, "y": 3}
|
2020-09-01 05:30:07 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"LAYOUT_numpad_6x4": {
|
|
|
|
"layout": [
|
2023-03-29 04:54:34 +00:00
|
|
|
{"matrix": [0, 0], "x": 0, "y": 0},
|
|
|
|
{"matrix": [1, 0], "x": 1, "y": 0},
|
|
|
|
{"matrix": [2, 0], "x": 2, "y": 0},
|
|
|
|
{"matrix": [3, 0], "x": 3, "y": 0},
|
2020-09-01 05:30:07 +00:00
|
|
|
|
2023-03-29 04:54:34 +00:00
|
|
|
{"matrix": [0, 1], "x": 0, "y": 1.25},
|
|
|
|
{"matrix": [1, 1], "x": 1, "y": 1.25},
|
|
|
|
{"matrix": [2, 1], "x": 2, "y": 1.25},
|
|
|
|
{"matrix": [3, 1], "x": 3, "y": 1.25},
|
2020-09-01 05:30:07 +00:00
|
|
|
|
2023-03-29 04:54:34 +00:00
|
|
|
{"matrix": [0, 2], "x": 0, "y": 2.25},
|
|
|
|
{"matrix": [1, 2], "x": 1, "y": 2.25},
|
|
|
|
{"matrix": [2, 2], "x": 2, "y": 2.25},
|
2020-09-01 05:30:07 +00:00
|
|
|
|
2023-03-29 04:54:34 +00:00
|
|
|
{"matrix": [0, 3], "x": 0, "y": 3.25},
|
|
|
|
{"matrix": [1, 3], "x": 1, "y": 3.25},
|
|
|
|
{"matrix": [2, 3], "x": 2, "y": 3.25},
|
|
|
|
{"matrix": [3, 2], "x": 3, "y": 2.25, "h": 2},
|
2020-09-01 05:30:07 +00:00
|
|
|
|
2023-03-29 04:54:34 +00:00
|
|
|
{"matrix": [0, 4], "x": 0, "y": 4.25},
|
|
|
|
{"matrix": [1, 4], "x": 1, "y": 4.25},
|
|
|
|
{"matrix": [2, 4], "x": 2, "y": 4.25},
|
2020-09-01 05:30:07 +00:00
|
|
|
|
2023-03-29 04:54:34 +00:00
|
|
|
{"matrix": [0, 5], "x": 0, "y": 5.25, "w": 2},
|
|
|
|
{"matrix": [2, 5], "x": 2, "y": 5.25},
|
|
|
|
{"matrix": [3, 4], "x": 3, "y": 4.25, "h": 2}
|
2020-02-08 03:15:35 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|