From b2197de43efce16b48a4fc8e606e94fb03e699d0 Mon Sep 17 00:00:00 2001 From: jack Date: Sun, 16 Jun 2024 12:55:58 -0600 Subject: [PATCH 1/5] initial --- v3/boardsource/the_q/the_q.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 v3/boardsource/the_q/the_q.json diff --git a/v3/boardsource/the_q/the_q.json b/v3/boardsource/the_q/the_q.json new file mode 100644 index 0000000000..883d3b72ca --- /dev/null +++ b/v3/boardsource/the_q/the_q.json @@ -0,0 +1,26 @@ +{ + "name": "The Q", + "vendorId": "0x4273", + "productId": "0x7552", + "matrix": {"rows": 7, "cols": 6}, + "keycodes": ["qmk_lighting"], + "menus": ["qmk_rgb_matrix"], + "layouts": { + "keymap": [ + [{"x": 3},"0,3",{"x": 7.5},"6,3"], + [{"y": -0.87,"x": 2},"0,2",{"x": 1},"0,4",{"x": 5.5},"6,4",{"x": 1},"6,2"], + [{"y": -0.87,"x": 5},"0,5",{"x": 3.5},"6,5"], + [{"y": -0.87},"0,0","0,1",{"x": 11.5},"6,1","6,0"], + [{"y": -0.379,"x": 3},"1,3",{"x": 7.5},"5,3"], + [{"y": -0.87,"x": 2},"1,2",{"x": 1},"1,4",{"x": 5.5},"5,4",{"x": 1},"5,2"], + [{"y": -0.87,"x": 5},"1,5",{"x": 3.5},"5,5"], + [{"y": -0.87},"1,0","1,1",{"x": 11.5},"5,1","5,0"], + [{"y": -0.379,"x": 3},"2,3",{"x": 7.5},"4,3"],[{"y": -0.87,"x": 2},"2,2",{"x": 1},"2,4",{"x": 5.5},"4,4",{"x": 1},"4,2"], + [{"y": -0.87,"x": 5},"2,5",{"x": 3.5},"4,5"],[{"y": -0.87},"2,0","2,1",{"x": 11.5},"4,1","4,0"],[{"y": -0.129,"x": 3.5},"3,0",{"x": 6.5},"3,5"], + [{"r": 15,"rx": 3.75,"ry": 3.25,"y": -0.2018,"x": 1},"3,1"], + [{"r": 30,"rx": 5.4,"ry": 9.3,"y": -5.64,"x": -2.2802,"h": 1.5},"3,2"], + [{"r": -30,"rx": 11.1,"y": -6.12,"x": 0.4193,"h": 1.5},"3,3"], + [{"r": -15,"rx": 12,"ry": 9.1,"y": -5.92,"x": -0.7304},"3,4"] + ] + } +} From 3fc9fdafdb7ca9d734501cead2a9b345313d92b7 Mon Sep 17 00:00:00 2001 From: jack Date: Sun, 16 Jun 2024 17:30:33 -0600 Subject: [PATCH 2/5] formatting --- v3/boardsource/the_q/the_q.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/v3/boardsource/the_q/the_q.json b/v3/boardsource/the_q/the_q.json index 883d3b72ca..e04c64bc5a 100644 --- a/v3/boardsource/the_q/the_q.json +++ b/v3/boardsource/the_q/the_q.json @@ -15,8 +15,11 @@ [{"y": -0.87,"x": 2},"1,2",{"x": 1},"1,4",{"x": 5.5},"5,4",{"x": 1},"5,2"], [{"y": -0.87,"x": 5},"1,5",{"x": 3.5},"5,5"], [{"y": -0.87},"1,0","1,1",{"x": 11.5},"5,1","5,0"], - [{"y": -0.379,"x": 3},"2,3",{"x": 7.5},"4,3"],[{"y": -0.87,"x": 2},"2,2",{"x": 1},"2,4",{"x": 5.5},"4,4",{"x": 1},"4,2"], - [{"y": -0.87,"x": 5},"2,5",{"x": 3.5},"4,5"],[{"y": -0.87},"2,0","2,1",{"x": 11.5},"4,1","4,0"],[{"y": -0.129,"x": 3.5},"3,0",{"x": 6.5},"3,5"], + [{"y": -0.379,"x": 3},"2,3",{"x": 7.5},"4,3"], + [{"y": -0.87,"x": 2},"2,2",{"x": 1},"2,4",{"x": 5.5},"4,4",{"x": 1},"4,2"], + [{"y": -0.87,"x": 5},"2,5",{"x": 3.5},"4,5"], + [{"y": -0.87},"2,0","2,1",{"x": 11.5},"4,1","4,0"], + [{"y": -0.129,"x": 3.5},"3,0",{"x": 6.5},"3,5"], [{"r": 15,"rx": 3.75,"ry": 3.25,"y": -0.2018,"x": 1},"3,1"], [{"r": 30,"rx": 5.4,"ry": 9.3,"y": -5.64,"x": -2.2802,"h": 1.5},"3,2"], [{"r": -30,"rx": 11.1,"y": -6.12,"x": 0.4193,"h": 1.5},"3,3"], From cd367b1c864174a1324cfbb422943a35ba4b4970 Mon Sep 17 00:00:00 2001 From: Jack Sangdahl Date: Wed, 7 Aug 2024 15:36:53 -0600 Subject: [PATCH 3/5] remove unnecessary menu option --- v3/boardsource/the_q/the_q.json | 1 - 1 file changed, 1 deletion(-) diff --git a/v3/boardsource/the_q/the_q.json b/v3/boardsource/the_q/the_q.json index e04c64bc5a..05ffb1f7cd 100644 --- a/v3/boardsource/the_q/the_q.json +++ b/v3/boardsource/the_q/the_q.json @@ -4,7 +4,6 @@ "productId": "0x7552", "matrix": {"rows": 7, "cols": 6}, "keycodes": ["qmk_lighting"], - "menus": ["qmk_rgb_matrix"], "layouts": { "keymap": [ [{"x": 3},"0,3",{"x": 7.5},"6,3"], From 4b4186d48a7589ddad747be03a13a3ea6bd0e1ac Mon Sep 17 00:00:00 2001 From: Jack Sangdahl Date: Sun, 13 Oct 2024 00:28:35 -0600 Subject: [PATCH 4/5] list only enabled effects --- v3/boardsource/the_q/the_q.json | 46 +++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/v3/boardsource/the_q/the_q.json b/v3/boardsource/the_q/the_q.json index 05ffb1f7cd..ffc9e78b7b 100644 --- a/v3/boardsource/the_q/the_q.json +++ b/v3/boardsource/the_q/the_q.json @@ -4,6 +4,52 @@ "productId": "0x7552", "matrix": {"rows": 7, "cols": 6}, "keycodes": ["qmk_lighting"], + "menus": [ + { + "label": "Lighting", + "content": [ + { + "label": "Backlight", + "content": [ + { + "label": "Brightness", + "type": "range", + "options": [0, 255], + "content": ["id_qmk_rgb_matrix_brightness", 3, 1] + }, + { + "label": "Effect", + "type": "dropdown", + "content": ["id_qmk_rgb_matrix_effect", 3, 2], + "options": [ + "All Off", + "Solid Color", + "Alphas Mods", + "Band Sat.", + "Band Val.", + "Breathing", + "Gradient Left/Right", + "Gradient Up/Down" + ] + }, + { + "showIf": "{id_qmk_rgb_matrix_effect} != 0", + "label": "Effect Speed", + "type": "range", + "options": [0, 255], + "content": ["id_qmk_rgb_matrix_effect_speed", 3, 3] + }, + { + "showIf": "{id_qmk_rgb_matrix_effect} != 0 && {id_qmk_rgb_matrix_effect} != 24 && {id_qmk_rgb_matrix_effect} != 28 && {id_qmk_rgb_matrix_effect} != 29 && {id_qmk_rgb_matrix_effect} != 32", + "label": "Color", + "type": "color", + "content": ["id_qmk_rgb_matrix_color", 3, 4] + } + ] + } + ] + } + ], "layouts": { "keymap": [ [{"x": 3},"0,3",{"x": 7.5},"6,3"], From f2fce4e1cb79706c375901de778fb1da173fc259 Mon Sep 17 00:00:00 2001 From: Cipulot <40441626+Cipulot@users.noreply.github.com> Date: Mon, 14 Oct 2024 12:58:44 +0200 Subject: [PATCH 5/5] Update v3/boardsource/the_q/the_q.json --- v3/boardsource/the_q/the_q.json | 271 +++++++++++++++++++++++++++++--- 1 file changed, 246 insertions(+), 25 deletions(-) diff --git a/v3/boardsource/the_q/the_q.json b/v3/boardsource/the_q/the_q.json index ffc9e78b7b..22e162416a 100644 --- a/v3/boardsource/the_q/the_q.json +++ b/v3/boardsource/the_q/the_q.json @@ -2,8 +2,13 @@ "name": "The Q", "vendorId": "0x4273", "productId": "0x7552", - "matrix": {"rows": 7, "cols": 6}, - "keycodes": ["qmk_lighting"], + "matrix": { + "rows": 7, + "cols": 6 + }, + "keycodes": [ + "qmk_lighting" + ], "menus": [ { "label": "Lighting", @@ -14,13 +19,24 @@ { "label": "Brightness", "type": "range", - "options": [0, 255], - "content": ["id_qmk_rgb_matrix_brightness", 3, 1] + "options": [ + 0, + 255 + ], + "content": [ + "id_qmk_rgb_matrix_brightness", + 3, + 1 + ] }, { "label": "Effect", "type": "dropdown", - "content": ["id_qmk_rgb_matrix_effect", 3, 2], + "content": [ + "id_qmk_rgb_matrix_effect", + 3, + 2 + ], "options": [ "All Off", "Solid Color", @@ -36,14 +52,25 @@ "showIf": "{id_qmk_rgb_matrix_effect} != 0", "label": "Effect Speed", "type": "range", - "options": [0, 255], - "content": ["id_qmk_rgb_matrix_effect_speed", 3, 3] + "options": [ + 0, + 255 + ], + "content": [ + "id_qmk_rgb_matrix_effect_speed", + 3, + 3 + ] }, { "showIf": "{id_qmk_rgb_matrix_effect} != 0 && {id_qmk_rgb_matrix_effect} != 24 && {id_qmk_rgb_matrix_effect} != 28 && {id_qmk_rgb_matrix_effect} != 29 && {id_qmk_rgb_matrix_effect} != 32", "label": "Color", "type": "color", - "content": ["id_qmk_rgb_matrix_color", 3, 4] + "content": [ + "id_qmk_rgb_matrix_color", + 3, + 4 + ] } ] } @@ -52,23 +79,217 @@ ], "layouts": { "keymap": [ - [{"x": 3},"0,3",{"x": 7.5},"6,3"], - [{"y": -0.87,"x": 2},"0,2",{"x": 1},"0,4",{"x": 5.5},"6,4",{"x": 1},"6,2"], - [{"y": -0.87,"x": 5},"0,5",{"x": 3.5},"6,5"], - [{"y": -0.87},"0,0","0,1",{"x": 11.5},"6,1","6,0"], - [{"y": -0.379,"x": 3},"1,3",{"x": 7.5},"5,3"], - [{"y": -0.87,"x": 2},"1,2",{"x": 1},"1,4",{"x": 5.5},"5,4",{"x": 1},"5,2"], - [{"y": -0.87,"x": 5},"1,5",{"x": 3.5},"5,5"], - [{"y": -0.87},"1,0","1,1",{"x": 11.5},"5,1","5,0"], - [{"y": -0.379,"x": 3},"2,3",{"x": 7.5},"4,3"], - [{"y": -0.87,"x": 2},"2,2",{"x": 1},"2,4",{"x": 5.5},"4,4",{"x": 1},"4,2"], - [{"y": -0.87,"x": 5},"2,5",{"x": 3.5},"4,5"], - [{"y": -0.87},"2,0","2,1",{"x": 11.5},"4,1","4,0"], - [{"y": -0.129,"x": 3.5},"3,0",{"x": 6.5},"3,5"], - [{"r": 15,"rx": 3.75,"ry": 3.25,"y": -0.2018,"x": 1},"3,1"], - [{"r": 30,"rx": 5.4,"ry": 9.3,"y": -5.64,"x": -2.2802,"h": 1.5},"3,2"], - [{"r": -30,"rx": 11.1,"y": -6.12,"x": 0.4193,"h": 1.5},"3,3"], - [{"r": -15,"rx": 12,"ry": 9.1,"y": -5.92,"x": -0.7304},"3,4"] + [ + { + "x": 3 + }, + "0,3", + { + "x": 7.5 + }, + "6,3" + ], + [ + { + "y": -0.87, + "x": 2 + }, + "0,2", + { + "x": 1 + }, + "0,4", + { + "x": 5.5 + }, + "6,4", + { + "x": 1 + }, + "6,2" + ], + [ + { + "y": -0.87, + "x": 5 + }, + "0,5", + { + "x": 3.5 + }, + "6,5" + ], + [ + { + "y": -0.87 + }, + "0,0", + "0,1", + { + "x": 11.5 + }, + "6,1", + "6,0" + ], + [ + { + "y": -0.379, + "x": 3 + }, + "1,3", + { + "x": 7.5 + }, + "5,3" + ], + [ + { + "y": -0.87, + "x": 2 + }, + "1,2", + { + "x": 1 + }, + "1,4", + { + "x": 5.5 + }, + "5,4", + { + "x": 1 + }, + "5,2" + ], + [ + { + "y": -0.87, + "x": 5 + }, + "1,5", + { + "x": 3.5 + }, + "5,5" + ], + [ + { + "y": -0.87 + }, + "1,0", + "1,1", + { + "x": 11.5 + }, + "5,1", + "5,0" + ], + [ + { + "y": -0.379, + "x": 3 + }, + "2,3", + { + "x": 7.5 + }, + "4,3" + ], + [ + { + "y": -0.87, + "x": 2 + }, + "2,2", + { + "x": 1 + }, + "2,4", + { + "x": 5.5 + }, + "4,4", + { + "x": 1 + }, + "4,2" + ], + [ + { + "y": -0.87, + "x": 5 + }, + "2,5", + { + "x": 3.5 + }, + "4,5" + ], + [ + { + "y": -0.87 + }, + "2,0", + "2,1", + { + "x": 11.5 + }, + "4,1", + "4,0" + ], + [ + { + "y": -0.129, + "x": 3.5 + }, + "3,0", + { + "x": 6.5 + }, + "3,5" + ], + [ + { + "r": 15, + "rx": 3.75, + "ry": 3.25, + "y": -0.2018, + "x": 1 + }, + "3,1" + ], + [ + { + "r": 30, + "rx": 5.4, + "ry": 9.3, + "y": -5.64, + "x": -2.2802, + "h": 1.5 + }, + "3,2" + ], + [ + { + "r": -30, + "rx": 11.1, + "y": -6.12, + "x": 0.4193, + "h": 1.5 + }, + "3,3" + ], + [ + { + "r": -15, + "rx": 12, + "ry": 9.1, + "y": -5.92, + "x": -0.7304 + }, + "3,4" + ] ] } } +