Skip to content

Commit

Permalink
Update x4 via json
Browse files Browse the repository at this point in the history
  • Loading branch information
galican committed Oct 16, 2023
1 parent 47ea587 commit ab272c3
Showing 1 changed file with 32 additions and 83 deletions.
115 changes: 32 additions & 83 deletions ...rds/keychron/x4/via_json/x4_ansi_red.json → ...hron/x4/via_json/x4_ansi_encoder_red.json
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Lemokey X3 ANSI Red",
"name": "Lemokey X4 ANSI Knob Red",
"vendorId": "0x362D",
"productId": "0x0230",
"productId": "0x0240",
"keycodes": ["qmk_lighting"],
"customKeycodes": [
{"name": "Mission Control","title": "Mission Control in macOS","shortName": "MCtrl"},
Expand All @@ -16,7 +16,7 @@
{"name": "Screen Shot","title": "Screenshot in macOS","shortName": "SShot"},
{"name": "Cortana","title": "Cortana in windows","shortName": "Cortana"}
],
"matrix": {"rows": 6, "cols": 21},
"matrix": {"rows": 6, "cols": 16},
"layouts": {
"keymap": [
[
Expand All @@ -25,24 +25,22 @@
},
"0,0\nESC",
{
"x": 1,
"x": 0.25,
"c": "#cccccc"
},
"0,1",
"0,2",
"0,3",
"0,4",
{
"x": 0.5,
"c": "#aaaaaa"
"x": 0.25
},
"0,5",
"0,6",
"0,7",
"0,8",
{
"x": 0.5,
"c": "#cccccc"
"x": 0.25
},
"0,9",
"0,10",
Expand All @@ -52,9 +50,11 @@
"x": 0.25,
"c": "#aaaaaa"
},
"0,14",
"0,15",
"0,16"
"0,13",
{
"x": 0.25
},
"0,14\n\n\n\n\n\n\n\n\ne0"
],
[
{
Expand Down Expand Up @@ -84,21 +84,10 @@
{
"x": 0.25
},
"1,14",
"1,15",
"1,16",
{
"x": 0.25,
"c": "#cccccc"
},
"1,17",
"1,18",
"1,19",
"1,20"
"1,14"
],
[
{
"c": "#aaaaaa",
"w": 1.5
},
"2,0",
Expand All @@ -125,24 +114,10 @@
{
"x": 0.25
},
"2,14",
"2,15",
"2,16",
{
"x": 0.25,
"c": "#cccccc"
},
"2,17",
"2,18",
"2,19",
{
"h": 2
},
"2,20"
"2,14"
],
[
{
"c": "#aaaaaa",
"w": 1.75
},
"3,0",
Expand All @@ -166,16 +141,13 @@
},
"3,13",
{
"x": 3.5,
"c": "#cccccc"
"x": 0.25,
"c": "#aaaaaa"
},
"3,17",
"3,18",
"3,19"
"3,14"
],
[
{
"c": "#aaaaaa",
"w": 2.25
},
"4,0",
Expand All @@ -194,29 +166,21 @@
"4,11",
{
"c": "#aaaaaa",
"w": 2.75
"w": 1.75
},
"4,13",
"4,13"
],
[
{
"x": 1.25,
"y": -0.75,
"x": 14.25,
"c": "#777777"
},
"4,15",
{
"x": 1.25,
"c": "#cccccc"
},
"4,17",
"4,18",
"4,19",
{
"c": "#777777",
"h": 2
},
"4,20"
"4,14"
],
[
{
"y": -0.25,
"c": "#aaaaaa",
"w": 1.25
},
Expand All @@ -235,36 +199,21 @@
},
"5,6",
{
"c": "#aaaaaa",
"w": 1.25
"c": "#aaaaaa"
},
"5,10",
{
"w": 1.25
},
"5,11",
"5,12"
],
[
{
"w": 1.25
},
"5,12",
{
"w": 1.25
},
"5,13",
{
"x": 0.25,
"y": -0.75,
"x": 13.25,
"c": "#777777"
},
"5,13",
"5,14",
"5,15",
"5,16",
{
"x": 0.25,
"c": "#cccccc",
"w": 2
},
"5,17",
"5,18"
"5,15"
]
]
}
Expand Down

0 comments on commit ab272c3

Please sign in to comment.