2021-07-20 05:26:26 +00:00
|
|
|
{
|
2022-08-06 05:49:44 +00:00
|
|
|
"keyboard_name": "We27",
|
|
|
|
"manufacturer": "@wekey",
|
2021-07-20 05:26:26 +00:00
|
|
|
"url": "",
|
|
|
|
"maintainer": "@wekey.dev",
|
2022-08-06 05:49:44 +00:00
|
|
|
"usb": {
|
|
|
|
"vid": "0x5559",
|
|
|
|
"pid": "0x0001",
|
|
|
|
"device_version": "0.0.1"
|
|
|
|
},
|
2023-04-08 08:08:08 +00:00
|
|
|
"rgb_matrix": {
|
|
|
|
"driver": "WS2812"
|
|
|
|
},
|
2023-03-10 18:41:58 +00:00
|
|
|
"matrix_pins": {
|
|
|
|
"cols": ["F4", "F5", "C7", "D6", "D4"],
|
|
|
|
"rows": ["F1", "D7", "B4", "B5", "B6", "F6"]
|
|
|
|
},
|
|
|
|
"diode_direction": "COL2ROW",
|
2023-02-25 22:45:12 +00:00
|
|
|
"encoder": {
|
|
|
|
"rotary": [
|
|
|
|
{"pin_a": "D3", "pin_b": "D2", "resolution": 2}
|
|
|
|
]
|
|
|
|
},
|
2023-04-06 08:00:54 +00:00
|
|
|
"ws2812": {
|
|
|
|
"pin": "C6"
|
|
|
|
},
|
2023-02-08 07:41:46 +00:00
|
|
|
"processor": "atmega32u4",
|
|
|
|
"bootloader": "caterina",
|
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": ["numpad_6x5"],
|
2021-07-20 05:26:26 +00:00
|
|
|
"layouts": {
|
|
|
|
"LAYOUT_numpad_6x5": {
|
|
|
|
"layout": [
|
2023-03-29 04:54:34 +00:00
|
|
|
{"matrix": [0, 0], "x": 0, "y": 0},
|
|
|
|
{"matrix": [0, 1], "x": 1, "y": 0},
|
|
|
|
{"matrix": [0, 2], "x": 2, "y": 0},
|
|
|
|
{"matrix": [0, 3], "x": 3, "y": 0},
|
|
|
|
{"matrix": [0, 4], "x": 4, "y": 0},
|
|
|
|
|
|
|
|
{"matrix": [1, 0], "x": 0, "y": 1.5},
|
|
|
|
{"matrix": [1, 1], "x": 1, "y": 1.5},
|
|
|
|
{"matrix": [1, 2], "x": 2, "y": 1.5},
|
|
|
|
{"matrix": [1, 3], "x": 3, "y": 1.5},
|
|
|
|
{"matrix": [1, 4], "x": 4, "y": 1.5},
|
|
|
|
|
|
|
|
{"matrix": [2, 0], "x": 0, "y": 2.5},
|
|
|
|
{"matrix": [2, 1], "x": 1, "y": 2.5},
|
|
|
|
{"matrix": [2, 2], "x": 2, "y": 2.5},
|
|
|
|
{"matrix": [2, 3], "x": 3, "y": 2.5},
|
|
|
|
|
|
|
|
{"matrix": [3, 0], "x": 0, "y": 3.5},
|
|
|
|
{"matrix": [3, 1], "x": 1, "y": 3.5},
|
|
|
|
{"matrix": [3, 2], "x": 2, "y": 3.5},
|
|
|
|
{"matrix": [3, 3], "x": 3, "y": 3.5},
|
|
|
|
{"matrix": [2, 4], "x": 4, "y": 2.5, "h": 2},
|
|
|
|
|
|
|
|
{"matrix": [4, 0], "x": 0, "y": 4.5},
|
|
|
|
{"matrix": [4, 1], "x": 1, "y": 4.5},
|
|
|
|
{"matrix": [4, 2], "x": 2, "y": 4.5},
|
|
|
|
{"matrix": [4, 3], "x": 3, "y": 4.5},
|
|
|
|
|
|
|
|
{"matrix": [5, 0], "x": 0, "y": 5.5},
|
|
|
|
{"matrix": [5, 1], "x": 1, "y": 5.5, "w": 2},
|
|
|
|
{"matrix": [5, 3], "x": 3, "y": 5.5},
|
|
|
|
{"matrix": [4, 4], "x": 4, "y": 4.5, "h": 2}
|
2021-07-20 05:26:26 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"LAYOUT_numpad_6x5_encoder": {
|
|
|
|
"layout": [
|
2023-03-29 04:54:34 +00:00
|
|
|
{"matrix": [0, 0], "x": 0, "y": 0.75},
|
|
|
|
{"matrix": [0, 1], "x": 1, "y": 0.75},
|
|
|
|
{"matrix": [0, 2], "x": 2, "y": 0.75},
|
|
|
|
{"matrix": [0, 3], "x": 3, "y": 0.75},
|
|
|
|
{"matrix": [0, 4], "x": 4, "y": 0.75},
|
|
|
|
|
|
|
|
{"matrix": [3, 4], "x": 3.75, "y": 0, "w": 0.75, "h": 0.75},
|
|
|
|
{"matrix": [5, 4], "x": 4.5, "y": 0, "w": 0.75, "h": 0.75},
|
|
|
|
|
|
|
|
{"matrix": [1, 0], "x": 0, "y": 2.25},
|
|
|
|
{"matrix": [1, 1], "x": 1, "y": 2.25},
|
|
|
|
{"matrix": [1, 2], "x": 2, "y": 2.25},
|
|
|
|
{"matrix": [1, 3], "x": 3, "y": 2.25},
|
|
|
|
{"matrix": [1, 4], "x": 4, "y": 2.25},
|
|
|
|
|
|
|
|
{"matrix": [2, 0], "x": 0, "y": 3.25},
|
|
|
|
{"matrix": [2, 1], "x": 1, "y": 3.25},
|
|
|
|
{"matrix": [2, 2], "x": 2, "y": 3.25},
|
|
|
|
{"matrix": [2, 3], "x": 3, "y": 3.25},
|
|
|
|
|
|
|
|
{"matrix": [3, 0], "x": 0, "y": 4.25},
|
|
|
|
{"matrix": [3, 1], "x": 1, "y": 4.25},
|
|
|
|
{"matrix": [3, 2], "x": 2, "y": 4.25},
|
|
|
|
{"matrix": [3, 3], "x": 3, "y": 4.25},
|
|
|
|
{"matrix": [2, 4], "x": 4, "y": 3.25, "h": 2},
|
|
|
|
|
|
|
|
{"matrix": [4, 0], "x": 0, "y": 5.25},
|
|
|
|
{"matrix": [4, 1], "x": 1, "y": 5.25},
|
|
|
|
{"matrix": [4, 2], "x": 2, "y": 5.25},
|
|
|
|
{"matrix": [4, 3], "x": 3, "y": 5.25},
|
|
|
|
|
|
|
|
{"matrix": [5, 0], "x": 0, "y": 6.25},
|
|
|
|
{"matrix": [5, 1], "x": 1, "y": 6.25, "w": 2},
|
|
|
|
{"matrix": [5, 3], "x": 3, "y": 6.25},
|
|
|
|
{"matrix": [4, 4], "x": 4, "y": 5.25, "h": 2}
|
2021-07-20 05:26:26 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|