diff --git a/keyboards/keychron/x4/via_json/x4_ansi_red.json b/keyboards/keychron/x4/via_json/x4_ansi_encoder_red.json old mode 100755 new mode 100644 similarity index 72% rename from keyboards/keychron/x4/via_json/x4_ansi_red.json rename to keyboards/keychron/x4/via_json/x4_ansi_encoder_red.json index 31e044b399f0..8c3f83181174 --- a/keyboards/keychron/x4/via_json/x4_ansi_red.json +++ b/keyboards/keychron/x4/via_json/x4_ansi_encoder_red.json @@ -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"}, @@ -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": [ [ @@ -25,7 +25,7 @@ }, "0,0\nESC", { - "x": 1, + "x": 0.25, "c": "#cccccc" }, "0,1", @@ -33,16 +33,14 @@ "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", @@ -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" ], [ { @@ -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", @@ -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", @@ -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", @@ -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 }, @@ -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" ] ] }