From 60ad3c1e5f32e685835cc3e4ae0047b4f70e8d8b Mon Sep 17 00:00:00 2001 From: DOIO2022 <1474829590@QQ.COM> Date: Thu, 12 Dec 2024 08:41:29 +0800 Subject: [PATCH 1/3] Create kb38-01.json --- v3/doio/kb38/kb38-01.json | 110 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 v3/doio/kb38/kb38-01.json diff --git a/v3/doio/kb38/kb38-01.json b/v3/doio/kb38/kb38-01.json new file mode 100644 index 0000000000..a3fb4ddc91 --- /dev/null +++ b/v3/doio/kb38/kb38-01.json @@ -0,0 +1,110 @@ +{ + "name": "DOIO KB38-01", + "vendorId": "0xD010", + "productId": "0x3801", + "matrix": { + "rows": 6, + "cols": 8 + }, + "keycodes": [ + "qmk_lighting" + ], + "menus": [ + "qmk_rgb_matrix" + ], + "layouts": { + "keymap": [ + [ + {"c": "#cccccc"}, + "0,0", + { + "x": 1.5 + }, + "0,1", + { + "x": 0.75 + }, + "0,2", + "0,3", + "0,4", + { + "x": 0.25 + }, + "0,5", + "0,6", + "0,7" + ], + [ + {"c": "#cccccc"}, + "1,0", + "1,1", + "1,2", + "1,3", + { + "x": 0.25 + }, + "1,4", + "1,5", + "1,6" + ], + [ + "2,0", + "2,1", + "2,2", + { + "h": 2 + }, + "2,3", + { + "x": 0.25 + }, + "2,4", + "2,5", + "2,6", + {"x": 0.5}, + "5,5\n\n\n\n\n\n\n\n\ne0", + {"x": 0.5}, + "5,6\n\n\n\n\n\n\n\n\ne1" + ], + [ + "3,0", + "3,1", + "3,2", + { + "x": 1.25 + }, + "3,3", + "3,4", + "3,5" + ], + [ + "4,0", + "4,1", + "4,2", + { + "h": 2 + }, + "4,3", + { + "x": 1.25 + }, + "4,5", + {"x": 1.75, "w": 2, "h": 2}, + "5,7\n\n\n\n\n\n\n\n\ne2" + ], + [ + { + "w": 2 + }, + "5,0", + "5,1", + { + "x": 1.25 + }, + "5,2", + "5,3", + "5,4" + ] + ] + } +} \ No newline at end of file From 2c916ecaee9edeaa04de49772ef791adf7949cf9 Mon Sep 17 00:00:00 2001 From: DOIO2022 <1474829590@QQ.COM> Date: Tue, 24 Dec 2024 08:10:57 +0800 Subject: [PATCH 2/3] Change the json file name --- v3/doio/kb38/{kb38-01.json => kb38.json} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename v3/doio/kb38/{kb38-01.json => kb38.json} (100%) diff --git a/v3/doio/kb38/kb38-01.json b/v3/doio/kb38/kb38.json similarity index 100% rename from v3/doio/kb38/kb38-01.json rename to v3/doio/kb38/kb38.json From ebfde716ee926ba1b92af3c4620851b38332ced5 Mon Sep 17 00:00:00 2001 From: Cipulot <40441626+Cipulot@users.noreply.github.com> Date: Wed, 1 Jan 2025 16:23:00 +0100 Subject: [PATCH 3/3] Update v3/doio/kb38/kb38.json --- v3/doio/kb38/kb38.json | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/v3/doio/kb38/kb38.json b/v3/doio/kb38/kb38.json index a3fb4ddc91..bfca92966d 100644 --- a/v3/doio/kb38/kb38.json +++ b/v3/doio/kb38/kb38.json @@ -15,7 +15,9 @@ "layouts": { "keymap": [ [ - {"c": "#cccccc"}, + { + "c": "#cccccc" + }, "0,0", { "x": 1.5 @@ -35,7 +37,9 @@ "0,7" ], [ - {"c": "#cccccc"}, + { + "c": "#cccccc" + }, "1,0", "1,1", "1,2", @@ -61,9 +65,13 @@ "2,4", "2,5", "2,6", - {"x": 0.5}, + { + "x": 0.5 + }, "5,5\n\n\n\n\n\n\n\n\ne0", - {"x": 0.5}, + { + "x": 0.5 + }, "5,6\n\n\n\n\n\n\n\n\ne1" ], [ @@ -89,7 +97,11 @@ "x": 1.25 }, "4,5", - {"x": 1.75, "w": 2, "h": 2}, + { + "x": 1.75, + "w": 2, + "h": 2 + }, "5,7\n\n\n\n\n\n\n\n\ne2" ], [ @@ -107,4 +119,4 @@ ] ] } -} \ No newline at end of file +}