Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update portal 66 and add hotswap #1051

Merged
merged 1 commit into from
Dec 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
236 changes: 216 additions & 20 deletions src/portal_66/portal_66.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,218 @@
{
"name":"Portal 66",
"vendorId":"0x504C",
"productId":"0x5066",
"lighting":"none",
"matrix":{ "rows":5, "cols":16 },
"layouts":{
"labels":[
"Split Backspace",
["Bottom Row", "3 Mod Keys", "2 Mod Keys"]
],
"keymap":[
[{"x":13},"0,13\n\n\n0,1","0,14\n\n\n0,1"],
[{"y":0.25,"c":"#777777"},"0,0",{"c":"#cccccc"},"0,1","0,2","0,3","0,4","0,5","0,6","0,7","0,8","0,9","0,10","0,11","0,12",{"c":"#aaaaaa","w":2},"0,14\n\n\n0,0","0,15"],
[{"w":1.5},"1,0",{"c":"#cccccc"},"1,1","1,2","1,3","1,4","1,5","1,6","1,7","1,8","1,9","1,10","1,11","1,12",{"c":"#aaaaaa","w":1.5},"1,13","1,15"],
[{"w":1.75},"2,0",{"c":"#cccccc"},"2,1","2,2","2,3","2,4","2,5","2,6","2,7","2,8","2,9","2,10","2,11",{"c":"#777777","w":2.25},"2,13",{"c":"#aaaaaa"},"2,15"],
[{"w":2.25},"3,0",{"c":"#cccccc"},"3,2","3,3","3,4","3,5","3,6","3,7","3,8","3,9","3,10","3,11",{"c":"#aaaaaa","w":1.75},"3,12","3,13","3,15"],
[{"w":1.25},"4,0",{"w":1.25},"4,1",{"w":1.25},"4,2",{"w":6.25},"4,6","4,9\n\n\n1,0","4,10\n\n\n1,0","4,11\n\n\n1,0","4,12","4,13","4,15"],
[{"x":10,"w":1.5},"4,9\n\n\n1,1",{"w":1.5},"4,11\n\n\n1,1"]
]
}
"name": "Portal 66",
"vendorId": "0x504C",
"productId": "0x5066",
"lighting": "none",
"matrix": { "rows": 5, "cols": 16 },
"layouts": {
"labels": [
"Split Backspace",
"ISO Enter",
"Split Left Shift",
["Bottom Row", "ANSI", "Tsangan"]
],
"keymap": [
[
{
"x": 15.5,
"c": "#aaaaaa"
},
"0,13\n\n\n0,1",
"0,14\n\n\n0,1"
],
[
{
"y": 0.25,
"x": 2.5,
"c": "#777777"
},
"0,0",
{
"c": "#cccccc"
},
"0,1",
"0,2",
"0,3",
"0,4",
"0,5",
"0,6",
"0,7",
"0,8",
"0,9",
"0,10",
"0,11",
"0,12",
{
"c": "#aaaaaa",
"w": 2
},
"0,14\n\n\n0,0",
"0,15"
],
[
{
"x": 2.5,
"w": 1.5
},
"1,0",
{
"c": "#cccccc"
},
"1,1",
"1,2",
"1,3",
"1,4",
"1,5",
"1,6",
"1,7",
"1,8",
"1,9",
"1,10",
"1,11",
"1,12",
{
"c": "#aaaaaa",
"w": 1.5
},
"1,13\n\n\n1,0",
"1,15",
{
"x": 1.25,
"c": "#777777",
"w": 1.25,
"h": 2,
"w2": 1.5,
"h2": 1,
"x2": -0.25
},
"2,13\n\n\n1,1"
],
[
{
"x": 2.5,
"c": "#aaaaaa",
"w": 1.75
},
"2,0",
{
"c": "#cccccc"
},
"2,1",
"2,2",
"2,3",
"2,4",
"2,5",
"2,6",
"2,7",
"2,8",
"2,9",
"2,10",
"2,11",
{
"c": "#777777",
"w": 2.25
},
"2,13\n\n\n1,0",
{
"c": "#aaaaaa"
},
"2,15",
{
"x": 0.25,
"c": "#cccccc"
},
"2,12\n\n\n1,1"
],
[
{
"c": "#aaaaaa",
"w": 1.25
},
"3,0\n\n\n2,1",
{
"c": "#cccccc"
},
"3,1\n\n\n2,1",
{
"x": 0.25,
"c": "#aaaaaa",
"w": 2.25
},
"3,0\n\n\n2,0",
{
"c": "#cccccc"
},
"3,2",
"3,3",
"3,4",
"3,5",
"3,6",
"3,7",
"3,8",
"3,9",
"3,10",
"3,11",
{
"c": "#aaaaaa",
"w": 1.75
},
"3,12",
"3,13",
"3,15"
],
[
{
"x": 2.5,
"w": 1.25
},
"4,0\n\n\n3,0",
{
"w": 1.25
},
"4,1\n\n\n3,0",
{
"w": 1.25
},
"4,2\n\n\n3,0",
{
"w": 6.25
},
"4,6\n\n\n3,0",
{
"w": 1.25
},
"4,9\n\n\n3,0",
{
"w": 1.25
},
"4,11\n\n\n3,0",
{
"x": 0.5
},
"4,12",
"4,13",
"4,15"
],
[
{
"x": 2.5,
"w": 1.5
},
"4,0\n\n\n3,1",
"4,1\n\n\n3,1",
{
"w": 1.5
},
"4,2\n\n\n3,1",
{
"w": 7
},
"4,6\n\n\n3,1",
{
"w": 1.5
},
"4,11\n\n\n3,1"
]
]
}
}
153 changes: 153 additions & 0 deletions src/portal_66/portal_66_hs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
{
"name": "Portal 66 Hotswap",
"vendorId": "0x504C",
"productId": "0x5067",
"lighting": "none",
"matrix": { "rows": 5, "cols": 16 },
"layouts": {
"labels": [],
"keymap": [
[
{
"c": "#777777"
},
"0,0",
{
"c": "#cccccc"
},
"0,1",
"0,2",
"0,3",
"0,4",
"0,5",
"0,6",
"0,7",
"0,8",
"0,9",
"0,10",
"0,11",
"0,12",
{
"c": "#aaaaaa",
"w": 2
},
"0,14\n\n\n0,0",
"0,15"
],
[
{
"w": 1.5
},
"1,0",
{
"c": "#cccccc"
},
"1,1",
"1,2",
"1,3",
"1,4",
"1,5",
"1,6",
"1,7",
"1,8",
"1,9",
"1,10",
"1,11",
"1,12",
{
"c": "#aaaaaa",
"w": 1.5
},
"1,13\n\n\n1,0",
"1,15"
],
[
{
"w": 1.75
},
"2,0",
{
"c": "#cccccc"
},
"2,1",
"2,2",
"2,3",
"2,4",
"2,5",
"2,6",
"2,7",
"2,8",
"2,9",
"2,10",
"2,11",
{
"c": "#777777",
"w": 2.25
},
"2,13\n\n\n1,0",
{
"c": "#aaaaaa"
},
"2,15"
],
[
{
"w": 2.25
},
"3,0\n\n\n2,0",
{
"c": "#cccccc"
},
"3,2",
"3,3",
"3,4",
"3,5",
"3,6",
"3,7",
"3,8",
"3,9",
"3,10",
"3,11",
{
"c": "#aaaaaa",
"w": 1.75
},
"3,12",
"3,13",
"3,15"
],
[
{
"w": 1.25
},
"4,0\n\n\n3,0",
{
"w": 1.25
},
"4,1\n\n\n3,0",
{
"w": 1.25
},
"4,2\n\n\n3,0",
{
"w": 6.25
},
"4,6\n\n\n3,0",
{
"w": 1.25
},
"4,9\n\n\n3,0",
{
"w": 1.25
},
"4,11\n\n\n3,0",
{
"x": 0.5
},
"4,12",
"4,13",
"4,15"
]
]
}
}