2020-02-08 04:15:35 +01:00
|
|
|
{
|
2022-08-06 10:52:13 +02:00
|
|
|
"keyboard_name": "NP21",
|
|
|
|
"manufacturer": "YMDK",
|
2020-02-08 04:15:35 +01:00
|
|
|
"maintainer": "qmk",
|
2022-08-06 10:52:13 +02:00
|
|
|
"usb": {
|
|
|
|
"vid": "0x594D",
|
|
|
|
"pid": "0x5021",
|
2023-05-01 09:37:12 +02:00
|
|
|
"device_version": "2.0.0",
|
|
|
|
"max_power": 100
|
2022-08-06 10:52:13 +02:00
|
|
|
},
|
2023-03-05 23:53:52 +01:00
|
|
|
"matrix_pins": {
|
|
|
|
"cols": ["A0", "A1", "A2", "A3", "A4", "A5"],
|
|
|
|
"rows": ["B0", "B1", "B2", "B3"]
|
|
|
|
},
|
|
|
|
"diode_direction": "COL2ROW",
|
2023-02-25 22:37:57 +01:00
|
|
|
"backlight": {
|
|
|
|
"pin": "D4",
|
|
|
|
"levels": 12,
|
|
|
|
"breathing": true
|
|
|
|
},
|
2023-06-18 06:39:07 +02:00
|
|
|
"rgblight": {
|
|
|
|
"led_count": 5
|
|
|
|
},
|
2023-03-26 09:22:12 +02:00
|
|
|
"ws2812": {
|
|
|
|
"driver": "i2c"
|
|
|
|
},
|
2023-02-17 03:14:29 +01:00
|
|
|
"indicators": {
|
|
|
|
"num_lock": "D0"
|
|
|
|
},
|
2023-02-08 08:41:46 +01: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 03:48:20 +01:00
|
|
|
"community_layouts": ["ortho_6x4", "numpad_6x4"],
|
2023-03-29 06:54:34 +02:00
|
|
|
"layout_aliases": {
|
|
|
|
"LAYOUT": "LAYOUT_ortho_4x6"
|
|
|
|
},
|
2020-02-08 04:15:35 +01:00
|
|
|
"layouts": {
|
|
|
|
"LAYOUT_ortho_6x4": {
|
|
|
|
"layout": [
|
2023-03-29 06:54:34 +02: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 07:30:07 +02:00
|
|
|
|
2023-03-29 06:54:34 +02: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 07:30:07 +02:00
|
|
|
|
2023-03-29 06:54:34 +02: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 07:30:07 +02:00
|
|
|
|
2023-03-29 06:54:34 +02: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 07:30:07 +02:00
|
|
|
|
2023-03-29 06:54:34 +02: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 07:30:07 +02:00
|
|
|
|
2023-03-29 06:54:34 +02: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 04:15:35 +01:00
|
|
|
]
|
|
|
|
},
|
2020-09-01 07:30:07 +02:00
|
|
|
"LAYOUT_ortho_4x6": {
|
2020-02-08 04:15:35 +01:00
|
|
|
"layout": [
|
2023-03-29 06:54:34 +02: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 07:30:07 +02:00
|
|
|
|
2023-03-29 06:54:34 +02: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 07:30:07 +02:00
|
|
|
|
2023-03-29 06:54:34 +02: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 07:30:07 +02:00
|
|
|
|
2023-03-29 06:54:34 +02: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 07:30:07 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"LAYOUT_numpad_6x4": {
|
|
|
|
"layout": [
|
2023-03-29 06:54:34 +02: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 07:30:07 +02:00
|
|
|
|
2023-03-29 06:54:34 +02: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 07:30:07 +02:00
|
|
|
|
2023-03-29 06:54:34 +02: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 07:30:07 +02:00
|
|
|
|
2023-03-29 06:54:34 +02: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 07:30:07 +02:00
|
|
|
|
2023-03-29 06:54:34 +02: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 07:30:07 +02:00
|
|
|
|
2023-03-29 06:54:34 +02: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 04:15:35 +01:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|