Implement ISO, terminal extra key and SSK on modelh controller (#688)

* Implement ISO and SSK

This PR will implement ISO and TKL/SSK for the modelh controller

* Allow extra key on numpad terminal
This commit is contained in:
Fernando Muñoz 2024-03-10 20:30:58 -05:00 committed by GitHub
parent bbaed80505
commit 47dc08baa4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,33 +5,45 @@
"cols": 16 "cols": 16
}, },
"layouts": { "layouts": {
"labels": "iso", "labels": [
"Split LShift",
"ISO Enter",
["Numpad", "Standard", "Terminal", "SSK"]
],
"keymap": [ "keymap": [
[ [
{
"x": 5,
"c": "#99948C"
},
"0,2", "0,2",
{ {
"x": 1 "x": 1,
"c": "#cccccc"
}, },
"2,3", "2,3",
"2,4", "2,4",
"1,4", "1,4",
"0,4", "0,4",
{ {
"x": 0.5 "x": 0.5,
"c": "#99948C"
}, },
"0,6", "0,6",
"0,8", "0,8",
"1,9", "1,9",
"2,9", "2,9",
{ {
"x": 0.5 "x": 0.5,
"c": "#cccccc"
}, },
"2,6", "2,6",
"3,6", "3,6",
"3,11", "3,11",
"3,12", "3,12",
{ {
"x": 0.25 "x": 0.25,
"c": "#99948C"
}, },
"3,15", "3,15",
"4,15", "4,15",
@ -39,7 +51,9 @@
], ],
[ [
{ {
"y": 0.5 "y": 0.5,
"x": 5,
"c": "#cccccc"
}, },
"2,2", "2,2",
"3,2", "3,2",
@ -55,6 +69,7 @@
"2,10", "2,10",
"2,8", "2,8",
{ {
"c": "#99948C",
"w": 2 "w": 2
}, },
"1,6", "1,6",
@ -67,16 +82,36 @@
{ {
"x": 0.25 "x": 0.25
}, },
"6,11", "6,11\n\n\n2,0",
"6,12", {
"6,13", "x": -1
"7,13" },
"6,11\n\n\n2,1",
"6,12\n\n\n2,0",
{
"x": -1
},
"6,12\n\n\n2,1",
"6,13\n\n\n2,0",
{
"x": -1
},
"6,13\n\n\n2,1",
"7,13\n\n\n2,0",
{
"x": -1
},
"7,13\n\n\n2,1"
], ],
[ [
{ {
"x": 5,
"w": 1.5 "w": 1.5
}, },
"1,2", "1,2",
{
"c": "#cccccc"
},
"4,2", "4,2",
"4,3", "4,3",
"4,4", "4,4",
@ -90,9 +125,19 @@
"1,10", "1,10",
"1,8", "1,8",
{ {
"c": "#99948C",
"w": 1.5 "w": 1.5
}, },
"5,6", "5,6\n\n\n1,0",
{
"x": -1.25,
"w": 1.25,
"h": 2,
"w2": 1.5,
"h2": 1,
"x2": -0.25
},
"6,6\n\n\n1,1",
{ {
"x": 0.25 "x": 0.25
}, },
@ -100,21 +145,43 @@
"3,14", "3,14",
"3,13", "3,13",
{ {
"x": 0.25 "x": 0.25,
"c": "#cccccc"
}, },
"4,11", "4,11\n\n\n2,0",
"4,12",
"4,13",
{ {
"x": -1
},
"4,11\n\n\n2,1",
"4,12\n\n\n2,0",
{
"x": -1
},
"4,12\n\n\n2,1",
"4,13\n\n\n2,0",
{
"x": -1
},
"4,13\n\n\n2,1",
{
"c": "#99948C",
"h": 2 "h": 2
}, },
"4,14" "4,14\n\n\n2,0",
{
"x": -1
},
"4,14\n\n\n2,1"
], ],
[ [
{ {
"x": 5,
"w": 1.75 "w": 1.75
}, },
"1,3", "1,3",
{
"c": "#cccccc"
},
"5,2", "5,2",
"5,3", "5,3",
"5,4", "5,4",
@ -127,21 +194,54 @@
"5,10", "5,10",
"0,10", "0,10",
{ {
"c": "#99948C",
"w": 2.25 "w": 2.25
}, },
"6,6", "6,6\n\n\n1,0",
{ {
"x": 3.5 "x": -2.25,
"c": "#cccccc"
}, },
"1,11", "6,10\n\n\n1,1",
"1,12", {
"1,13" "x": 4.75
},
"1,11\n\n\n2,0",
{
"x": -1
},
"1,11\n\n\n2,1",
"1,12\n\n\n2,0",
{
"x": -1
},
"1,12\n\n\n2,1",
"1,13\n\n\n2,0",
{
"x": -1
},
"1,13\n\n\n2,1",
{
"c": "#99948C"
},
"1,14\n\n\n2,1"
], ],
[ [
{ {
"x": 5,
"w": 1.25
},
"1,1\n\n\n0,1",
{
"x": -1.25,
"w": 2.25 "w": 2.25
}, },
"1,1", "1,1\n\n\n0,0",
{
"x": -1,
"c": "#cccccc"
},
"0,3\n\n\n0,1",
"6,2", "6,2",
"6,3", "6,3",
"6,4", "6,4",
@ -153,6 +253,7 @@
"6,9", "6,9",
"7,10", "7,10",
{ {
"c": "#99948C",
"w": 2.75 "w": 2.75
}, },
"6,1", "6,1",
@ -161,18 +262,38 @@
}, },
"0,14", "0,14",
{ {
"x": 1.25 "x": 1.25,
"c": "#cccccc"
}, },
"5,11", "5,11\n\n\n2,0",
"5,12",
"5,13",
{ {
"x": -1
},
"5,11\n\n\n2,1",
"5,12\n\n\n2,0",
{
"x": -1
},
"5,12\n\n\n2,1",
"5,13\n\n\n2,0",
{
"x": -1
},
"5,13\n\n\n2,1",
{
"c": "#99948C",
"h": 2 "h": 2
}, },
"5,14" "5,14\n\n\n2,0",
{
"x": -1,
"h": 2
},
"5,14\n\n\n2,1"
], ],
[ [
{ {
"x": 5,
"w": 1.5 "w": 1.5
}, },
"2,0", "2,0",
@ -182,10 +303,12 @@
}, },
"0,15", "0,15",
{ {
"c": "#cccccc",
"w": 7 "w": 7
}, },
"7,6", "7,6",
{ {
"c": "#99948C",
"w": 1.5 "w": 1.5
}, },
"7,15", "7,15",
@ -202,11 +325,22 @@
"7,12", "7,12",
{ {
"x": 0.25, "x": 0.25,
"c": "#cccccc",
"w": 2 "w": 2
}, },
"0,12", "0,12\n\n\n2,0",
"0,13" {
"x": -2,
"w": 2
},
"0,12\n\n\n2,1",
"0,13\n\n\n2,0",
{
"x": -1
},
"0,13\n\n\n2,1"
] ]
] ]
} }
} }