2021-09-19 09:10:32 +06:00
|
|
|
{
|
2022-08-20 06:42:49 +06:00
|
|
|
"keyboard_name": "Preonic",
|
|
|
|
"manufacturer": "Drop",
|
|
|
|
"usb": {
|
|
|
|
"vid": "0x03A8",
|
|
|
|
"pid": "0xA649",
|
|
|
|
"device_version": "0.0.3"
|
|
|
|
},
|
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 08:48:20 +06:00
|
|
|
"community_layouts": ["ortho_5x12"],
|
2021-09-19 09:10:32 +06:00
|
|
|
"layouts": {
|
|
|
|
"LAYOUT_preonic_1x2uC": {
|
|
|
|
"layout": [
|
|
|
|
{"x": 0, "y": 0},
|
|
|
|
{"x": 1, "y": 0},
|
|
|
|
{"x": 2, "y": 0},
|
|
|
|
{"x": 3, "y": 0},
|
|
|
|
{"x": 4, "y": 0},
|
|
|
|
{"x": 5, "y": 0},
|
|
|
|
{"x": 6, "y": 0},
|
|
|
|
{"x": 7, "y": 0},
|
|
|
|
{"x": 8, "y": 0},
|
|
|
|
{"x": 9, "y": 0},
|
|
|
|
{"x": 10, "y": 0},
|
|
|
|
{"x": 11, "y": 0},
|
|
|
|
|
|
|
|
{"x": 0, "y": 1},
|
|
|
|
{"x": 1, "y": 1},
|
|
|
|
{"x": 2, "y": 1},
|
|
|
|
{"x": 3, "y": 1},
|
|
|
|
{"x": 4, "y": 1},
|
|
|
|
{"x": 5, "y": 1},
|
|
|
|
{"x": 6, "y": 1},
|
|
|
|
{"x": 7, "y": 1},
|
|
|
|
{"x": 8, "y": 1},
|
|
|
|
{"x": 9, "y": 1},
|
|
|
|
{"x": 10, "y": 1},
|
|
|
|
{"x": 11, "y": 1},
|
|
|
|
|
|
|
|
{"x": 0, "y": 2},
|
|
|
|
{"x": 1, "y": 2},
|
|
|
|
{"x": 2, "y": 2},
|
|
|
|
{"x": 3, "y": 2},
|
|
|
|
{"x": 4, "y": 2},
|
|
|
|
{"x": 5, "y": 2},
|
|
|
|
{"x": 6, "y": 2},
|
|
|
|
{"x": 7, "y": 2},
|
|
|
|
{"x": 8, "y": 2},
|
|
|
|
{"x": 9, "y": 2},
|
|
|
|
{"x": 10, "y": 2},
|
|
|
|
{"x": 11, "y": 2},
|
|
|
|
|
|
|
|
{"x": 0, "y": 3},
|
|
|
|
{"x": 1, "y": 3},
|
|
|
|
{"x": 2, "y": 3},
|
|
|
|
{"x": 3, "y": 3},
|
|
|
|
{"x": 4, "y": 3},
|
|
|
|
{"x": 5, "y": 3},
|
|
|
|
{"x": 6, "y": 3},
|
|
|
|
{"x": 7, "y": 3},
|
|
|
|
{"x": 8, "y": 3},
|
|
|
|
{"x": 9, "y": 3},
|
|
|
|
{"x": 10, "y": 3},
|
|
|
|
{"x": 11, "y": 3},
|
|
|
|
|
|
|
|
{"x": 0, "y": 4},
|
|
|
|
{"x": 1, "y": 4},
|
|
|
|
{"x": 2, "y": 4},
|
|
|
|
{"x": 3, "y": 4},
|
|
|
|
{"x": 4, "y": 4},
|
|
|
|
{"x": 5, "y": 4, "w": 2},
|
|
|
|
{"x": 7, "y": 4},
|
|
|
|
{"x": 8, "y": 4},
|
|
|
|
{"x": 9, "y": 4},
|
|
|
|
{"x": 10, "y": 4},
|
|
|
|
{"x": 11, "y": 4}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"LAYOUT_preonic_1x2uR": {
|
|
|
|
"layout": [
|
|
|
|
{"x": 0, "y": 0},
|
|
|
|
{"x": 1, "y": 0},
|
|
|
|
{"x": 2, "y": 0},
|
|
|
|
{"x": 3, "y": 0},
|
|
|
|
{"x": 4, "y": 0},
|
|
|
|
{"x": 5, "y": 0},
|
|
|
|
{"x": 6, "y": 0},
|
|
|
|
{"x": 7, "y": 0},
|
|
|
|
{"x": 8, "y": 0},
|
|
|
|
{"x": 9, "y": 0},
|
|
|
|
{"x": 10, "y": 0},
|
|
|
|
{"x": 11, "y": 0},
|
|
|
|
|
|
|
|
{"x": 0, "y": 1},
|
|
|
|
{"x": 1, "y": 1},
|
|
|
|
{"x": 2, "y": 1},
|
|
|
|
{"x": 3, "y": 1},
|
|
|
|
{"x": 4, "y": 1},
|
|
|
|
{"x": 5, "y": 1},
|
|
|
|
{"x": 6, "y": 1},
|
|
|
|
{"x": 7, "y": 1},
|
|
|
|
{"x": 8, "y": 1},
|
|
|
|
{"x": 9, "y": 1},
|
|
|
|
{"x": 10, "y": 1},
|
|
|
|
{"x": 11, "y": 1},
|
|
|
|
|
|
|
|
{"x": 0, "y": 2},
|
|
|
|
{"x": 1, "y": 2},
|
|
|
|
{"x": 2, "y": 2},
|
|
|
|
{"x": 3, "y": 2},
|
|
|
|
{"x": 4, "y": 2},
|
|
|
|
{"x": 5, "y": 2},
|
|
|
|
{"x": 6, "y": 2},
|
|
|
|
{"x": 7, "y": 2},
|
|
|
|
{"x": 8, "y": 2},
|
|
|
|
{"x": 9, "y": 2},
|
|
|
|
{"x": 10, "y": 2},
|
|
|
|
{"x": 11, "y": 2},
|
|
|
|
|
|
|
|
{"x": 0, "y": 3},
|
|
|
|
{"x": 1, "y": 3},
|
|
|
|
{"x": 2, "y": 3},
|
|
|
|
{"x": 3, "y": 3},
|
|
|
|
{"x": 4, "y": 3},
|
|
|
|
{"x": 5, "y": 3},
|
|
|
|
{"x": 6, "y": 3},
|
|
|
|
{"x": 7, "y": 3},
|
|
|
|
{"x": 8, "y": 3},
|
|
|
|
{"x": 9, "y": 3},
|
|
|
|
{"x": 10, "y": 3},
|
|
|
|
{"x": 11, "y": 3},
|
|
|
|
|
|
|
|
{"x": 0, "y": 4},
|
|
|
|
{"x": 1, "y": 4},
|
|
|
|
{"x": 2, "y": 4},
|
|
|
|
{"x": 3, "y": 4},
|
|
|
|
{"x": 4, "y": 4},
|
|
|
|
{"x": 5, "y": 4},
|
|
|
|
{"x": 6, "y": 4, "w": 2},
|
|
|
|
{"x": 8, "y": 4},
|
|
|
|
{"x": 9, "y": 4},
|
|
|
|
{"x": 10, "y": 4},
|
|
|
|
{"x": 11, "y": 4}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"LAYOUT_preonic_1x2uL": {
|
|
|
|
"layout": [
|
|
|
|
{"x": 0, "y": 0},
|
|
|
|
{"x": 1, "y": 0},
|
|
|
|
{"x": 2, "y": 0},
|
|
|
|
{"x": 3, "y": 0},
|
|
|
|
{"x": 4, "y": 0},
|
|
|
|
{"x": 5, "y": 0},
|
|
|
|
{"x": 6, "y": 0},
|
|
|
|
{"x": 7, "y": 0},
|
|
|
|
{"x": 8, "y": 0},
|
|
|
|
{"x": 9, "y": 0},
|
|
|
|
{"x": 10, "y": 0},
|
|
|
|
{"x": 11, "y": 0},
|
|
|
|
|
|
|
|
{"x": 0, "y": 1},
|
|
|
|
{"x": 1, "y": 1},
|
|
|
|
{"x": 2, "y": 1},
|
|
|
|
{"x": 3, "y": 1},
|
|
|
|
{"x": 4, "y": 1},
|
|
|
|
{"x": 5, "y": 1},
|
|
|
|
{"x": 6, "y": 1},
|
|
|
|
{"x": 7, "y": 1},
|
|
|
|
{"x": 8, "y": 1},
|
|
|
|
{"x": 9, "y": 1},
|
|
|
|
{"x": 10, "y": 1},
|
|
|
|
{"x": 11, "y": 1},
|
|
|
|
|
|
|
|
{"x": 0, "y": 2},
|
|
|
|
{"x": 1, "y": 2},
|
|
|
|
{"x": 2, "y": 2},
|
|
|
|
{"x": 3, "y": 2},
|
|
|
|
{"x": 4, "y": 2},
|
|
|
|
{"x": 5, "y": 2},
|
|
|
|
{"x": 6, "y": 2},
|
|
|
|
{"x": 7, "y": 2},
|
|
|
|
{"x": 8, "y": 2},
|
|
|
|
{"x": 9, "y": 2},
|
|
|
|
{"x": 10, "y": 2},
|
|
|
|
{"x": 11, "y": 2},
|
|
|
|
|
|
|
|
{"x": 0, "y": 3},
|
|
|
|
{"x": 1, "y": 3},
|
|
|
|
{"x": 2, "y": 3},
|
|
|
|
{"x": 3, "y": 3},
|
|
|
|
{"x": 4, "y": 3},
|
|
|
|
{"x": 5, "y": 3},
|
|
|
|
{"x": 6, "y": 3},
|
|
|
|
{"x": 7, "y": 3},
|
|
|
|
{"x": 8, "y": 3},
|
|
|
|
{"x": 9, "y": 3},
|
|
|
|
{"x": 10, "y": 3},
|
|
|
|
{"x": 11, "y": 3},
|
|
|
|
|
|
|
|
{"x": 0, "y": 4},
|
|
|
|
{"x": 1, "y": 4},
|
|
|
|
{"x": 2, "y": 4},
|
|
|
|
{"x": 3, "y": 4},
|
|
|
|
{"x": 4, "y": 4, "w": 2},
|
|
|
|
{"x": 6, "y": 4},
|
|
|
|
{"x": 7, "y": 4},
|
|
|
|
{"x": 8, "y": 4},
|
|
|
|
{"x": 9, "y": 4},
|
|
|
|
{"x": 10, "y": 4},
|
|
|
|
{"x": 11, "y": 4}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"LAYOUT_preonic_2x2u": {
|
|
|
|
"layout": [
|
|
|
|
{"x": 0, "y": 0},
|
|
|
|
{"x": 1, "y": 0},
|
|
|
|
{"x": 2, "y": 0},
|
|
|
|
{"x": 3, "y": 0},
|
|
|
|
{"x": 4, "y": 0},
|
|
|
|
{"x": 5, "y": 0},
|
|
|
|
{"x": 6, "y": 0},
|
|
|
|
{"x": 7, "y": 0},
|
|
|
|
{"x": 8, "y": 0},
|
|
|
|
{"x": 9, "y": 0},
|
|
|
|
{"x": 10, "y": 0},
|
|
|
|
{"x": 11, "y": 0},
|
|
|
|
|
|
|
|
{"x": 0, "y": 1},
|
|
|
|
{"x": 1, "y": 1},
|
|
|
|
{"x": 2, "y": 1},
|
|
|
|
{"x": 3, "y": 1},
|
|
|
|
{"x": 4, "y": 1},
|
|
|
|
{"x": 5, "y": 1},
|
|
|
|
{"x": 6, "y": 1},
|
|
|
|
{"x": 7, "y": 1},
|
|
|
|
{"x": 8, "y": 1},
|
|
|
|
{"x": 9, "y": 1},
|
|
|
|
{"x": 10, "y": 1},
|
|
|
|
{"x": 11, "y": 1},
|
|
|
|
|
|
|
|
{"x": 0, "y": 2},
|
|
|
|
{"x": 1, "y": 2},
|
|
|
|
{"x": 2, "y": 2},
|
|
|
|
{"x": 3, "y": 2},
|
|
|
|
{"x": 4, "y": 2},
|
|
|
|
{"x": 5, "y": 2},
|
|
|
|
{"x": 6, "y": 2},
|
|
|
|
{"x": 7, "y": 2},
|
|
|
|
{"x": 8, "y": 2},
|
|
|
|
{"x": 9, "y": 2},
|
|
|
|
{"x": 10, "y": 2},
|
|
|
|
{"x": 11, "y": 2},
|
|
|
|
|
|
|
|
{"x": 0, "y": 3},
|
|
|
|
{"x": 1, "y": 3},
|
|
|
|
{"x": 2, "y": 3},
|
|
|
|
{"x": 3, "y": 3},
|
|
|
|
{"x": 4, "y": 3},
|
|
|
|
{"x": 5, "y": 3},
|
|
|
|
{"x": 6, "y": 3},
|
|
|
|
{"x": 7, "y": 3},
|
|
|
|
{"x": 8, "y": 3},
|
|
|
|
{"x": 9, "y": 3},
|
|
|
|
{"x": 10, "y": 3},
|
|
|
|
{"x": 11, "y": 3},
|
|
|
|
|
|
|
|
{"x": 0, "y": 4},
|
|
|
|
{"x": 1, "y": 4},
|
|
|
|
{"x": 2, "y": 4},
|
|
|
|
{"x": 3, "y": 4},
|
|
|
|
{"x": 4, "y": 4, "w": 2},
|
|
|
|
{"x": 6, "y": 4, "w": 2},
|
|
|
|
{"x": 8, "y": 4},
|
|
|
|
{"x": 9, "y": 4},
|
|
|
|
{"x": 10, "y": 4},
|
|
|
|
{"x": 11, "y": 4}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"LAYOUT_ortho_5x12": {
|
|
|
|
"layout": [
|
|
|
|
{"x": 0, "y": 0},
|
|
|
|
{"x": 1, "y": 0},
|
|
|
|
{"x": 2, "y": 0},
|
|
|
|
{"x": 3, "y": 0},
|
|
|
|
{"x": 4, "y": 0},
|
|
|
|
{"x": 5, "y": 0},
|
|
|
|
{"x": 6, "y": 0},
|
|
|
|
{"x": 7, "y": 0},
|
|
|
|
{"x": 8, "y": 0},
|
|
|
|
{"x": 9, "y": 0},
|
|
|
|
{"x": 10, "y": 0},
|
|
|
|
{"x": 11, "y": 0},
|
|
|
|
|
|
|
|
{"x": 0, "y": 1},
|
|
|
|
{"x": 1, "y": 1},
|
|
|
|
{"x": 2, "y": 1},
|
|
|
|
{"x": 3, "y": 1},
|
|
|
|
{"x": 4, "y": 1},
|
|
|
|
{"x": 5, "y": 1},
|
|
|
|
{"x": 6, "y": 1},
|
|
|
|
{"x": 7, "y": 1},
|
|
|
|
{"x": 8, "y": 1},
|
|
|
|
{"x": 9, "y": 1},
|
|
|
|
{"x": 10, "y": 1},
|
|
|
|
{"x": 11, "y": 1},
|
|
|
|
|
|
|
|
{"x": 0, "y": 2},
|
|
|
|
{"x": 1, "y": 2},
|
|
|
|
{"x": 2, "y": 2},
|
|
|
|
{"x": 3, "y": 2},
|
|
|
|
{"x": 4, "y": 2},
|
|
|
|
{"x": 5, "y": 2},
|
|
|
|
{"x": 6, "y": 2},
|
|
|
|
{"x": 7, "y": 2},
|
|
|
|
{"x": 8, "y": 2},
|
|
|
|
{"x": 9, "y": 2},
|
|
|
|
{"x": 10, "y": 2},
|
|
|
|
{"x": 11, "y": 2},
|
|
|
|
|
|
|
|
{"x": 0, "y": 3},
|
|
|
|
{"x": 1, "y": 3},
|
|
|
|
{"x": 2, "y": 3},
|
|
|
|
{"x": 3, "y": 3},
|
|
|
|
{"x": 4, "y": 3},
|
|
|
|
{"x": 5, "y": 3},
|
|
|
|
{"x": 6, "y": 3},
|
|
|
|
{"x": 7, "y": 3},
|
|
|
|
{"x": 8, "y": 3},
|
|
|
|
{"x": 9, "y": 3},
|
|
|
|
{"x": 10, "y": 3},
|
|
|
|
{"x": 11, "y": 3},
|
|
|
|
|
|
|
|
{"x": 0, "y": 4},
|
|
|
|
{"x": 1, "y": 4},
|
|
|
|
{"x": 2, "y": 4},
|
|
|
|
{"x": 3, "y": 4},
|
|
|
|
{"x": 4, "y": 4},
|
|
|
|
{"x": 5, "y": 4},
|
|
|
|
{"x": 6, "y": 4},
|
|
|
|
{"x": 7, "y": 4},
|
|
|
|
{"x": 8, "y": 4},
|
|
|
|
{"x": 9, "y": 4},
|
|
|
|
{"x": 10, "y": 4},
|
|
|
|
{"x": 11, "y": 4}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|