Skip to content

Commit

Permalink
Add layouts for ANSI and ISO keyboards
Browse files Browse the repository at this point in the history
Add layout variants to support both 101 and 102 key variants with the same
VIA definition.
  • Loading branch information
nuess0r committed Oct 23, 2024
1 parent e866e64 commit e284924
Showing 1 changed file with 26 additions and 5 deletions.
31 changes: 26 additions & 5 deletions src/ibm/model_m/ctrl_m/ctrl_m.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"productId": "0x6180",
"matrix": {"rows": 8, "cols": 16},
"layouts": {
"labels": [
"ISO Enter"
],
"keymap": [
[
{
Expand Down Expand Up @@ -100,15 +103,19 @@
"1,10",
"1,8",
{
"x": 0.25,
"w": 1.5
},
"5,6\n\n\n0,0",
{
"x": -1.25,
"c": "#777777",
"w": 1.25,
"h": 2,
"w2": 1.5,
"h2": 1,
"x2": -0.25
},
"6,6",
"6,6\n\n\n0,1",
{
"x": 0.25
},
Expand Down Expand Up @@ -147,7 +154,16 @@
"5,9",
"5,10",
"0,10",
"6,10",
{
"c": "#777777",
"w": 2.25
},
"6,6\n\n\n0,0",
{
"x": -2.25,
"c": "#cccccc"
},
"6,10\n\n\n0,1",
{
"x": 4.75
},
Expand All @@ -158,13 +174,18 @@
[
{
"c": "#aaaaaa",
"w": 2.25
},
"1,1\n\n\n0,0",
{
"x": -2.25,
"w": 1.25
},
"1,1",
"1,1\n\n\n0,1",
{
"c": "#cccccc"
},
"0,3",
"0,3\n\n\n0,1",
"6,2",
"6,3",
"6,4",
Expand Down

0 comments on commit e284924

Please sign in to comment.