Update Pteron36 vial.json (#848)
Add support for switching separate encoders on/off from the layout. Fix default thumbkeys switch state. It was opposite to what the label said.
This commit is contained in:
parent
c57fb5fee9
commit
8659262088
1 changed files with 44 additions and 293 deletions
|
|
@ -1,295 +1,46 @@
|
|||
{
|
||||
"name": "Pteron36",
|
||||
"vendorId": "0x4847",
|
||||
"productId": "0x5054",
|
||||
"lighting": "qmk_rgblight",
|
||||
"matrix": {
|
||||
"rows": 8,
|
||||
"cols": 5
|
||||
},
|
||||
"layouts": {
|
||||
"labels":["No Outer Thumbs","No Inner Thumbs"],
|
||||
"keymap":[
|
||||
[
|
||||
{
|
||||
"x": 2
|
||||
},
|
||||
"0,2",
|
||||
{
|
||||
"x": 9.5
|
||||
},
|
||||
"4,2"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75,
|
||||
"x": 1
|
||||
},
|
||||
"0,1",
|
||||
{
|
||||
"x": 11.5
|
||||
},
|
||||
"4,1"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.95,
|
||||
"x": 3
|
||||
},
|
||||
"0,3",
|
||||
{
|
||||
"x": 7.5
|
||||
},
|
||||
"4,3"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.9,
|
||||
"x": 4
|
||||
},
|
||||
"0,4",
|
||||
{
|
||||
"x": 5.5
|
||||
},
|
||||
"4,4"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.65
|
||||
},
|
||||
"0,0",
|
||||
{
|
||||
"x": 13.5
|
||||
},
|
||||
"4,0"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75,
|
||||
"x": 2
|
||||
},
|
||||
"1,2",
|
||||
{
|
||||
"x": 9.5
|
||||
},
|
||||
"5,2"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75,
|
||||
"x": 1
|
||||
},
|
||||
"1,1",
|
||||
{
|
||||
"x": 3
|
||||
},
|
||||
"0,0\n\n\n\n\n\n\n\n\ne",
|
||||
"0,1\n\n\n\n\n\n\n\n\ne",
|
||||
{
|
||||
"x": 1.5
|
||||
},
|
||||
"1,0\n\n\n\n\n\n\n\n\ne",
|
||||
"1,1\n\n\n\n\n\n\n\n\ne",
|
||||
{
|
||||
"x": 3
|
||||
},
|
||||
"5,1"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.95,
|
||||
"x": 3,
|
||||
"n": true
|
||||
},
|
||||
"1,3",
|
||||
{
|
||||
"x": 7.5,
|
||||
"n": true
|
||||
},
|
||||
"5,3"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8999999999999999,
|
||||
"x": 4
|
||||
},
|
||||
"1,4",
|
||||
{
|
||||
"x": 5.5
|
||||
},
|
||||
"5,4"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.6499999999999999
|
||||
},
|
||||
"1,0",
|
||||
{
|
||||
"x": 13.5
|
||||
},
|
||||
"5,0"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75,
|
||||
"x": 2
|
||||
},
|
||||
"2,2",
|
||||
{
|
||||
"x": 9.5
|
||||
},
|
||||
"6,2"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75,
|
||||
"x": 1
|
||||
},
|
||||
"2,1",
|
||||
{
|
||||
"x": 3
|
||||
},
|
||||
"3,4",
|
||||
{
|
||||
"x": 3.5
|
||||
},
|
||||
"7,4",
|
||||
{
|
||||
"x": 3
|
||||
},
|
||||
"6,1"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.9500000000000002,
|
||||
"x": 3
|
||||
},
|
||||
"2,3",
|
||||
{
|
||||
"x": 7.5
|
||||
},
|
||||
"6,3"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8999999999999999,
|
||||
"x": 4
|
||||
},
|
||||
"2,4",
|
||||
{
|
||||
"x": 5.5
|
||||
},
|
||||
"6,4"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.6499999999999999
|
||||
},
|
||||
"2,0",
|
||||
{
|
||||
"x": 13.5
|
||||
},
|
||||
"6,0"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.25,
|
||||
"x": 2.75,
|
||||
"c": "#bababa",
|
||||
"d": true
|
||||
},
|
||||
"3,3\n\n\n0,0\n36 keys",
|
||||
{
|
||||
"x": -1
|
||||
},
|
||||
"3,3\n\n\n0,1\n38 keys",
|
||||
{
|
||||
"x": 8,
|
||||
"d": true
|
||||
},
|
||||
"7,3\n\n\n0,0\n36 keys",
|
||||
{
|
||||
"x": -1
|
||||
},
|
||||
"7,3\n\n\n0,1\n38 keys"
|
||||
],
|
||||
[
|
||||
{
|
||||
"r": 15,
|
||||
"rx": 3.75,
|
||||
"ry": 4.75,
|
||||
"y": -1.25,
|
||||
"c": "#888888"
|
||||
},
|
||||
"3,0"
|
||||
],
|
||||
[
|
||||
{
|
||||
"r": 30,
|
||||
"rx": 4.25,
|
||||
"ry": 4.8,
|
||||
"y": -1.2999999999999998,
|
||||
"x": 0.5,
|
||||
"c": "#bababa"
|
||||
},
|
||||
"3,1"
|
||||
],
|
||||
[
|
||||
{
|
||||
"r": 45,
|
||||
"rx": 4.75,
|
||||
"ry": 4.9,
|
||||
"y": -1.4000000000000004,
|
||||
"x": 1
|
||||
},
|
||||
"3,2\n\n\n1,1"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.9999999999999996,
|
||||
"x": 1,
|
||||
"d": true
|
||||
},
|
||||
"3,2\n\n\n1,0"
|
||||
],
|
||||
[
|
||||
{
|
||||
"r": -45,
|
||||
"rx": 10.75,
|
||||
"y": -1.4000000000000004,
|
||||
"x": -2
|
||||
},
|
||||
"7,2\n\n\n1,1"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.9999999999999996,
|
||||
"x": -2,
|
||||
"d": true
|
||||
},
|
||||
"7,2\n\n\n1,0"
|
||||
],
|
||||
[
|
||||
{
|
||||
"r": -30,
|
||||
"rx": 11.25,
|
||||
"ry": 4.8,
|
||||
"y": -1.2999999999999998,
|
||||
"x": -1.5
|
||||
},
|
||||
"7,1"
|
||||
],
|
||||
[
|
||||
{
|
||||
"r": -15,
|
||||
"rx": 11.75,
|
||||
"ry": 4.75,
|
||||
"y": -1.25,
|
||||
"x": -1,
|
||||
"c": "#888888"
|
||||
},
|
||||
"7,0"
|
||||
]
|
||||
]
|
||||
}
|
||||
"name": "Pteron36",
|
||||
"vendorId": "0x4847",
|
||||
"productId": "0x5054",
|
||||
"lighting": "qmk_rgblight",
|
||||
"matrix": {
|
||||
"rows": 8,
|
||||
"cols": 5
|
||||
},
|
||||
"layouts": {
|
||||
"labels": [
|
||||
"No outer thumbkeys",
|
||||
"No inner thumbkeys",
|
||||
"No left encoder",
|
||||
"No right encoder"
|
||||
],
|
||||
"keymap": [
|
||||
[{"x":2},"0,2",{"x":9.5},"4,2"],
|
||||
[{"y":-0.75,"x":1},"0,1",{"x":11.5},"4,1"],
|
||||
[{"y":-0.95,"x":3},"0,3",{"x":7.5},"4,3"],
|
||||
[{"y":-0.9,"x":4},"0,4",{"x":5.5},"4,4"],
|
||||
[{"y":-0.65},"0,0",{"x":13.5},"4,0"],
|
||||
[{"y":-1,"x":5.75,"d":true},"3,4\n\n\n2,1\nno enc0",{"x":2,"d":true},"7,4\n\n\n3,1\nno enc1"],
|
||||
[{"y":-0.75,"x":2},"1,2",{"x":9.5},"5,2"],
|
||||
[{"y":-0.75,"x":1},"1,1",{"x":11.5},"5,1"],
|
||||
[{"y":-0.95,"x":3,"n":true},"1,3",{"x":7.5,"n":true},"5,3"],
|
||||
[{"y":-0.9,"x":4},"1,4",{"x":5.5},"5,4"],
|
||||
[{"y":-0.65},"1,0",{"x":4.25},"0,0\n\n\n2,0\ne0 CC\n\n\n\n\ne","0,1\n\n\n2,0\ne0 CCW\n\n\n\n\ne",{"x":1},"1,1\n\n\n3,0\ne1 CCW\n\n\n\n\ne","1,0\n\n\n3,0\ne1 CW\n\n\n\n\ne",{"x":4.25},"5,0"],
|
||||
[{"y":-0.75,"x":2},"2,2",{"x":9.5},"6,2"],
|
||||
[{"y":-0.75,"x":1},"2,1",{"x":11.5},"6,1"],
|
||||
[{"y":-0.95,"x":3},"2,3",{"x":7.5},"6,3"],
|
||||
[{"y":-0.9,"x":4},"2,4",{"x":5.5},"6,4"],
|
||||
[{"y":-0.65},"2,0",{"x":4.75},"3,4\n\n\n2,0\nhas enc0",{"x":2},"7,4\n\n\n3,0\nhas enc1",{"x":4.75},"6,0"],
|
||||
[{"y":-0.25,"x":2.75,"c":"#aaaaaa"},"3,3\n\n\n0,0\nhas outer",{"x":8},"7,3\n\n\n0,0\nhas outer"],
|
||||
[{"x":2.75,"c":"#cccccc","d":true},"3,3\n\n\n0,1\nno outer",{"x":8,"d":true},"7,3\n\n\n0,1\nno outer"],
|
||||
[{"r":15,"rx":3.75,"ry":4.75,"y":-1.25,"c":"#777777","n":true},"3,0"],
|
||||
[{"r":30,"rx":4.25,"ry":4.8,"y":-1.3,"x":0.5,"c":"#aaaaaa"},"3,1"],
|
||||
[{"r":45,"rx":4.75,"ry":4.9,"y":-2.4,"x":1,"c":"#cccccc","a":0,"d":true},"3,2\n\n\n1,1\n\nno inner"],
|
||||
[{"x":1,"c":"#aaaaaa"},"3,2\n\n\n1,0\n\nhas inner"],
|
||||
[{"r":-45,"rx":10.75,"y":-2.4,"x":-2,"c":"#cccccc","d":true},"7,2\n\n\n1,1\n\nno inner"],
|
||||
[{"x":-2,"c":"#aaaaaa"},"7,2\n\n\n1,0\n\nhas inner"],
|
||||
[{"r":-30,"rx":11.25,"ry":4.8,"y":-1.3,"x":-1.5,"a":4},"7,1"],
|
||||
[{"r":-15,"rx":11.75,"ry":4.75,"y":-1.25,"x":-1,"c":"#777777","n":true},"7,0"]
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue