From dcfb4eb965e90cd12c33014504fc5d6ddde8dd65 Mon Sep 17 00:00:00 2001 From: Cipulot <40441626+Cipulot@users.noreply.github.com> Date: Sat, 2 Mar 2024 00:02:30 +0100 Subject: [PATCH 1/2] Add EC980C --- v3/cipulot/ec_980c/ec_980c.json | 805 ++++++++++++++++++++++++++++++++ 1 file changed, 805 insertions(+) create mode 100644 v3/cipulot/ec_980c/ec_980c.json diff --git a/v3/cipulot/ec_980c/ec_980c.json b/v3/cipulot/ec_980c/ec_980c.json new file mode 100644 index 0000000000..88948b62b7 --- /dev/null +++ b/v3/cipulot/ec_980c/ec_980c.json @@ -0,0 +1,805 @@ +{ + "name": "EC 980C", + "vendorId": "0x6369", + "productId": "0x6BBE", + "keycodes": [ + "qmk_lighting" + ], + "menus": [ + { + "label": "Lightning", + "content": [ + { + "label": "Indicators", + "content": [ + { + "label": "Enable Num Lock indicator", + "type": "toggle", + "content": [ + "id_num_indicator_enabled", + 0, + 1 + ] + }, + { + "showIf": "{id_num_indicator_enabled} == 1", + "label": "Num Lock indicator brightness", + "type": "range", + "options": [ + 0, + 255 + ], + "content": [ + "id_num_indicator_brightness", + 0, + 2 + ] + }, + { + "showIf": "{id_num_indicator_enabled} == 1", + "label": "Num Lock indicator color", + "type": "color", + "content": [ + "id_num_indicator_color", + 0, + 3 + ] + }, + { + "label": "Enable Caps Lock indicator", + "type": "toggle", + "content": [ + "id_caps_indicator_enabled", + 0, + 4 + ] + }, + { + "showIf": "{id_caps_indicator_enabled} == 1", + "label": "Caps Lock indicator brightness", + "type": "range", + "options": [ + 0, + 255 + ], + "content": [ + "id_caps_indicator_brightness", + 0, + 5 + ] + }, + { + "showIf": "{id_caps_indicator_enabled} == 1", + "label": "Caps Lock indicator color", + "type": "color", + "content": [ + "id_caps_indicator_color", + 0, + 6 + ] + }, + { + "label": "Enable Scroll Lock indicator", + "type": "toggle", + "content": [ + "id_scroll_indicator_enabled", + 0, + 7 + ] + }, + { + "showIf": "{id_scroll_indicator_enabled} == 1", + "label": "Scroll Lock indicator brightness", + "type": "range", + "options": [ + 0, + 255 + ], + "content": [ + "id_scroll_indicator_brightness", + 0, + 8 + ] + }, + { + "showIf": "{id_scroll_indicator_enabled} == 1", + "label": "Scroll Lock indicator color", + "type": "color", + "content": [ + "id_scroll_indicator_color", + 0, + 9 + ] + }, + { + "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": [ + [ + "Solid Color", + 1 + ], + [ + "Breathing", + 2 + ], + [ + "Cycle Left/Right", + 3 + ] + ] + }, + { + "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 + ] + } + ] + } + ] + }, + { + "label": "EC Tools", + "content": [ + { + "label": "Actuation", + "content": [ + { + "label": "Mode", + "type": "dropdown", + "options": [ + "APC", + "Rapid Trigger" + ], + "content": [ + "id_actuation_mode", + 0, + 10 + ] + }, + { + "showIf": "{id_actuation_mode} == 0", + "content": [ + { + "label": "Actuation Level (0% | 100%)", + "type": "range", + "options": [ + 1, + 1023 + ], + "content": [ + "id_mode_0_actuation_threshold", + 0, + 11 + ] + }, + { + "label": "Release Level (0% | 100%, ALWAYS < Actuation Level)", + "type": "range", + "options": [ + 1, + 1023 + ], + "content": [ + "id_mode_0_release_threshold", + 0, + 12 + ] + }, + { + "label": "Apply & save changes", + "type": "button", + "options": [ + 0 + ], + "content": [ + "id_save_threshold_data", + 0, + 13 + ] + } + ] + }, + { + "showIf": "{id_actuation_mode} == 1", + "content": [ + { + "label": "Initial Deadzone Offset (0% | 100%)", + "type": "range", + "options": [ + 1, + 1023 + ], + "content": [ + "id_mode_1_initial_deadzone_offset", + 0, + 14 + ] + }, + { + "label": "Actuation Offset (1-255)", + "type": "range", + "options": [ + 1, + 255 + ], + "content": [ + "id_mode_1_actuation_offset", + 0, + 15 + ] + }, + { + "label": "Release Offset (1-255)", + "type": "range", + "options": [ + 1, + 255 + ], + "content": [ + "id_mode_1_release_offset", + 0, + 16 + ] + }, + { + "label": "Apply & save changes", + "type": "button", + "options": [ + 1 + ], + "content": [ + "id_save_threshold_data", + 0, + 13 + ] + } + ] + } + ] + }, + { + "label": "Calibration", + "content": [ + { + "label": "Bottoming Calibration", + "type": "toggle", + "content": [ + "id_bottoming_calibration", + 0, + 17 + ] + }, + { + "label": "Noise Floor Calibration (DO NOT PRESS ANY KEY WHILE CLICKING)", + "type": "button", + "options": [ + 0 + ], + "content": [ + "id_noise_floor_calibration", + 0, + 18 + ] + }, + { + "label": "Show Calibration Data", + "type": "button", + "options": [ + 0 + ], + "content": [ + "id_show_calibration_data", + 0, + 19 + ] + }, + { + "label": "Clear Bottoming Calibration Data", + "type": "button", + "options": [ + 0 + ], + "content": [ + "id_clear_bottoming_calibration_data", + 0, + 20 + ] + } + ] + } + ] + } + ], + "matrix": { + "rows": 6, + "cols": 19 + }, + "layouts": { + "labels": [ + "Split Backspace", + "Split Left Shift", + "ISO", + [ + "Bottom Row", + "6U (1.25U | 1U | 1.25U | 6U | 1.25U | 1U | 1.25U)", + "6U (1.5U | 1U | 1.5U | 6U | 1.5U | 1.5U)", + "7U (1.25U | 1U | 1.25U | 7U | 1.25U | 1.25U)", + "7U (1.5U | 1U | 1.5U | 7U | 1U | 1U)", + "JIS", + "10U", + "13U" + ], + "Split Numpad +", + "Split Numpad Enter", + "Unified Numpad 0" + ], + "keymap": [ + [ + { + "x": 2.75, + "c": "#777777" + }, + "0,0", + { + "x": 1, + "c": "#cccccc" + }, + "0,2", + "0,3", + "0,4", + "0,5", + { + "x": 0.5, + "c": "#aaaaaa" + }, + "0,6", + "0,7", + "0,8", + "0,9", + { + "x": 0.5, + "c": "#cccccc" + }, + "0,11", + "0,12", + "0,13", + "0,14", + { + "x": 0.5, + "c": "#aaaaaa" + }, + "0,15", + "0,16", + "0,17", + "0,18" + ], + [ + { + "y": 0.5, + "x": 2.75, + "c": "#cccccc" + }, + "1,0", + "1,1", + "1,2", + "1,3", + "1,4", + "1,5", + "1,6", + "1,7", + "1,8", + "1,9", + "1,10", + "1,11", + "1,12", + { + "c": "#aaaaaa", + "w": 2 + }, + "1,14\n\n\n0,0", + { + "x": 0.5 + }, + "1,15", + "1,16", + "1,17", + "1,18", + { + "x": 0.75, + "c": "#cccccc" + }, + "1,13\n\n\n0,1", + { + "c": "#aaaaaa" + }, + "1,14\n\n\n0,1" + ], + [ + { + "x": 2.75, + "w": 1.5 + }, + "2,0", + { + "c": "#cccccc" + }, + "2,1", + "2,2", + "2,3", + "2,4", + "2,5", + "2,6", + "2,7", + "2,8", + "2,9", + "2,10", + "2,11", + "2,12", + { + "w": 1.5 + }, + "2,13\n\n\n2,0", + { + "x": 0.5 + }, + "2,15", + "2,16", + "2,17", + { + "c": "#aaaaaa", + "h": 2 + }, + "3,18\n\n\n4,0", + { + "x": 1.5, + "w": 1.25, + "h": 2, + "w2": 1.5, + "h2": 1, + "x2": -0.25 + }, + "2,14\n\n\n2,1", + { + "x": 0.25 + }, + "2,18\n\n\n4,1" + ], + [ + { + "x": 2.75, + "w": 1.75 + }, + "3,0", + { + "c": "#cccccc" + }, + "3,1", + "3,2", + "3,3", + "3,4", + "3,5", + "3,6", + "3,7", + "3,8", + "3,9", + "3,10", + "3,11", + { + "c": "#aaaaaa", + "w": 2.25 + }, + "3,13\n\n\n2,0", + { + "x": 0.5, + "c": "#cccccc" + }, + "3,15", + "3,16", + "3,17", + { + "x": 1.5 + }, + "3,12\n\n\n2,1", + { + "x": 1.5, + "c": "#aaaaaa" + }, + "3,18\n\n\n4,1" + ], + [ + { + "w": 1.25 + }, + "4,0\n\n\n1,1", + { + "c": "#cccccc" + }, + "4,1\n\n\n1,1", + { + "x": 0.5, + "c": "#aaaaaa", + "w": 2.25 + }, + "4,0\n\n\n1,0", + { + "c": "#cccccc" + }, + "4,2", + "4,3", + "4,4", + "4,5", + "4,6", + "4,7", + "4,8", + "4,9", + "4,10", + "4,11", + { + "c": "#aaaaaa", + "w": 1.75 + }, + "4,12", + { + "x": 1.5, + "c": "#cccccc" + }, + "4,15", + "4,16", + "4,17", + { + "c": "#aaaaaa", + "h": 2 + }, + "5,18\n\n\n5,0", + { + "x": 3 + }, + "4,18\n\n\n5,1" + ], + [ + { + "y": -0.75, + "x": 17, + "c": "#777777" + }, + "4,14" + ], + [ + { + "y": -0.25, + "x": 2.75, + "c": "#aaaaaa", + "w": 1.25 + }, + "5,0\n\n\n3,0", + "5,1\n\n\n3,0", + { + "w": 1.25 + }, + "5,2\n\n\n3,0", + { + "c": "#cccccc", + "w": 6 + }, + "5,6\n\n\n3,0", + { + "c": "#aaaaaa", + "w": 1.25 + }, + "5,9\n\n\n3,0", + "5,10\n\n\n3,0", + { + "w": 1.25 + }, + "5,11\n\n\n3,0", + { + "x": 3.5, + "c": "#cccccc" + }, + "5,16\n\n\n6,0", + "5,17\n\n\n6,0", + { + "x": 4, + "c": "#aaaaaa" + }, + "5,18\n\n\n5,1" + ], + [ + { + "y": -0.75, + "x": 16, + "c": "#777777" + }, + "5,13", + "5,14", + "5,15" + ], + [ + { + "x": 2.75, + "c": "#aaaaaa", + "w": 1.5 + }, + "5,0\n\n\n3,1", + "5,1\n\n\n3,1", + { + "w": 1.5 + }, + "5,2\n\n\n3,1", + { + "c": "#cccccc", + "w": 6 + }, + "5,6\n\n\n3,1", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "5,10\n\n\n3,1", + { + "w": 1.5 + }, + "5,11\n\n\n3,1", + { + "x": 3.5, + "c": "#cccccc", + "w": 2 + }, + "5,17\n\n\n6,1" + ], + [ + { + "y": 0.25, + "x": 2.75, + "c": "#aaaaaa", + "w": 1.25 + }, + "5,0\n\n\n3,2", + "5,1\n\n\n3,2", + { + "w": 1.25 + }, + "5,2\n\n\n3,2", + { + "c": "#cccccc", + "w": 7 + }, + "5,6\n\n\n3,2", + { + "c": "#aaaaaa", + "w": 1.25 + }, + "5,10\n\n\n3,2", + { + "w": 1.25 + }, + "5,11\n\n\n3,2" + ], + [ + { + "y": 0.25, + "x": 2.75, + "w": 1.5 + }, + "5,0\n\n\n3,3", + "5,1\n\n\n3,3", + { + "w": 1.5 + }, + "5,2\n\n\n3,3", + { + "c": "#cccccc", + "w": 7 + }, + "5,6\n\n\n3,3", + { + "c": "#aaaaaa" + }, + "5,10\n\n\n3,3", + "5,11\n\n\n3,3" + ], + [ + { + "y": 0.25, + "x": 2.75, + "w": 1.25 + }, + "5,0\n\n\n3,4", + "5,1\n\n\n3,4", + { + "w": 1.25 + }, + "5,2\n\n\n3,4", + "5,3\n\n\n3,4", + { + "c": "#cccccc", + "w": 2.5 + }, + "5,5\n\n\n3,4", + { + "c": "#aaaaaa", + "w": 1.25 + }, + "5,6\n\n\n3,4", + { + "w": 1.25 + }, + "5,8\n\n\n3,4", + { + "w": 1.25 + }, + "5,9\n\n\n3,4", + "5,10\n\n\n3,4", + { + "w": 1.25 + }, + "5,11\n\n\n3,4" + ], + [ + { + "y": 0.25, + "x": 2.75, + "w": 1.5 + }, + "5,0\n\n\n3,5", + { + "c": "#cccccc", + "w": 10 + }, + "5,6\n\n\n3,5", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "5,11\n\n\n3,5" + ], + [ + { + "y": 0.25, + "x": 2.75, + "c": "#cccccc", + "w": 13 + }, + "5,6\n\n\n3,6" + ] + ] + } +} From c63ab6795ac2dc018308ae9f69663e0091fd928d Mon Sep 17 00:00:00 2001 From: Cipulot <40441626+Cipulot@users.noreply.github.com> Date: Tue, 30 Apr 2024 20:33:39 +0200 Subject: [PATCH 2/2] Formatting --- v3/cipulot/ec_980c/ec_980c.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/v3/cipulot/ec_980c/ec_980c.json b/v3/cipulot/ec_980c/ec_980c.json index 88948b62b7..6ce1aa0b55 100644 --- a/v3/cipulot/ec_980c/ec_980c.json +++ b/v3/cipulot/ec_980c/ec_980c.json @@ -2,6 +2,10 @@ "name": "EC 980C", "vendorId": "0x6369", "productId": "0x6BBE", + "matrix": { + "rows": 6, + "cols": 19 + }, "keycodes": [ "qmk_lighting" ], @@ -348,10 +352,6 @@ ] } ], - "matrix": { - "rows": 6, - "cols": 19 - }, "layouts": { "labels": [ "Split Backspace",