qmk-keychron-q3-colemak-dh/keyboards/libra_mini/keymaps/vial/vial.json
somepin 9470468ede
Add Libra Mini joystick remapping (#334)
* Enable remapping Libra Mini joystick as keys

* Move config to default keycap so make passes
2023-01-14 21:35:08 -06:00

94 lines
2.4 KiB
JSON

{
"name": "Libra Mini",
"vendorId": "0x4C4D",
"productId": "0x4C24",
"lighting": "none",
"matrix": {
"rows": 5,
"cols": 12
},
"layouts": {
"labels": [
"Split Backspace",
"Joystick"
],
"keymap": [
[{ "x": 12.5 }, "0,11\n\n\n0,1", "3,11\n\n\n0,1"],
[
{ "y": 0.25, "x": 0.25 },
"0,0",
"0,1",
{ "x": 9.25 },
"0,10",
{ "w": 2 },
"0,11\n\n\n0,0"
],
[
{ "x": 0.125, "w": 1.25 },
"1,0",
"1,1",
{ "x": 9.5 },
"1,10",
{ "w": 1.75 },
"1,11"
],
[
{ "w": 1.75 },
"2,0",
"2,1",
{ "x": 8.75 },
"2,10",
"2,11",
{ "w": 1.25 },
"3,10"
],
[{ "y": 1.25, "x": 12.625 }, "3,8\n\n\n1,1", "3,9\n\n\n1,1"],
[{ "y": -0.9, "x": 11.6, "w": 0.5, "h": 0.5 }, "4,3\n\n\n1,1"],
[
{ "y": -0.5, "x": 11.1, "w": 0.5, "h": 0.5 },
"4,6\n\n\n1,1",
{ "w": 0.5, "h": 0.5 },
"4,4\n\n\n1,1",
{ "w": 0.5, "h": 0.5 },
"4,7\n\n\n1,1"
],
[
{ "ry": 4.5, "y": -0.25, "x": 0.125, "w": 1.25 },
"3,0",
{ "w": 1.25 },
"3,1",
{ "x": 9.5, "w": 1.25 },
"3,8\n\n\n1,0",
{ "w": 1.25 },
"3,9\n\n\n1,0"
],
[
{ "r": 8, "rx": 3, "ry": 2.25, "y": -1, "x": -0.75 },
"0,2",
"0,3",
"0,4",
"0,5"
],
[{ "ry": 3.25, "y": -1, "x": -0.625 }, "1,2", "1,3", "1,4", "1,5"],
[{ "ry": 4.25, "y": -1, "x": -0.25 }, "2,2", "2,3", "2,4", "2,5"],
[{ "x": 1.75, "w": 2 }, "3,4"],
[{ "ry": 5.25, "y": -1, "x": 0.375, "w": 1.25 }, "3,3"],
[
{ "r": -8, "rx": 11.5, "ry": 2.25, "y": -1, "x": -4 },
"0,6",
"0,7",
"0,8",
"0,9"
],
[{ "ry": 3.25, "y": -1, "x": -3.625 }, "1,6", "1,7", "1,8", "1,9"],
[{ "ry": 4.25, "y": -1, "x": -4 }, "2,6", "2,7", "2,8", "2,9"],
[
{ "ry": 5.25, "y": -1, "x": -3.875, "w": 2.25 },
"3,6",
{ "w": 1.25 },
"3,7\n\n\n1,0"
],
[{ "y": 0.25, "x": -1.625 }, "3,7\n\n\n1,1"]
]
}
}