Skip to content

Commit

Permalink
Merge pull request #1051 from matthewdias/portal-66-hs
Browse files Browse the repository at this point in the history
Update portal 66 and add hotswap
  • Loading branch information
wilba authored Dec 28, 2021
2 parents 7f63829 + d3a189b commit c3401fa
Show file tree
Hide file tree
Showing 2 changed files with 369 additions and 20 deletions.
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"
]
]
}
}

0 comments on commit c3401fa

Please sign in to comment.