From b61087b3bed6075e7af01079dd3cb895dd55cd43 Mon Sep 17 00:00:00 2001 From: Cipulot <40441626+Cipulot@users.noreply.github.com> Date: Sat, 2 Mar 2024 00:05:46 +0100 Subject: [PATCH 1/2] Add EC Dolice --- v3/cipulot/ec_dolice/ec_dolice.json | 476 ++++++++++++++++++++++++++++ 1 file changed, 476 insertions(+) create mode 100644 v3/cipulot/ec_dolice/ec_dolice.json diff --git a/v3/cipulot/ec_dolice/ec_dolice.json b/v3/cipulot/ec_dolice/ec_dolice.json new file mode 100644 index 0000000000..030261db34 --- /dev/null +++ b/v3/cipulot/ec_dolice/ec_dolice.json @@ -0,0 +1,476 @@ +{ + "name": "Dolice EC", + "vendorId": "0x6369", + "productId": "0x6BB9", + "menus": [ + { + "label": "EC Tools", + "content": [ + { + "label": "Actuation", + "content": [ + { + "label": "Mode", + "type": "dropdown", + "options": [ + "APC", + "Rapid Trigger" + ], + "content": [ + "id_actuation_mode", + 0, + 1 + ] + }, + { + "showIf": "{id_actuation_mode} == 0", + "content": [ + { + "label": "Actuation Level (0% | 100%)", + "type": "range", + "options": [ + 1, + 1023 + ], + "content": [ + "id_mode_0_actuation_threshold", + 0, + 2 + ] + }, + { + "label": "Release Level (0% | 100%, ALWAYS < Actuation Level)", + "type": "range", + "options": [ + 1, + 1023 + ], + "content": [ + "id_mode_0_release_threshold", + 0, + 3 + ] + }, + { + "label": "Apply & save changes", + "type": "button", + "options": [ + 0 + ], + "content": [ + "id_save_threshold_data", + 0, + 4 + ] + } + ] + }, + { + "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, + 5 + ] + }, + { + "label": "Actuation Offset (1-255)", + "type": "range", + "options": [ + 1, + 255 + ], + "content": [ + "id_mode_1_actuation_offset", + 0, + 6 + ] + }, + { + "label": "Release Offset (1-255)", + "type": "range", + "options": [ + 1, + 255 + ], + "content": [ + "id_mode_1_release_offset", + 0, + 7 + ] + }, + { + "label": "Apply & save changes", + "type": "button", + "options": [ + 1 + ], + "content": [ + "id_save_threshold_data", + 0, + 4 + ] + } + ] + } + ] + }, + { + "label": "Calibration", + "content": [ + { + "label": "Bottoming Calibration", + "type": "toggle", + "content": [ + "id_bottoming_calibration", + 0, + 8 + ] + }, + { + "label": "Noise Floor Calibration (DO NOT PRESS ANY KEY WHILE CLICKING)", + "type": "button", + "options": [ + 0 + ], + "content": [ + "id_noise_floor_calibration", + 0, + 9 + ] + }, + { + "label": "Show Calibration Data", + "type": "button", + "options": [ + 0 + ], + "content": [ + "id_show_calibration_data", + 0, + 10 + ] + }, + { + "label": "Clear Bottoming Calibration Data", + "type": "button", + "options": [ + 0 + ], + "content": [ + "id_clear_bottoming_calibration_data", + 0, + 11 + ] + } + ] + } + ] + } + ], + "matrix": { + "rows": 5, + "cols": 15 + }, + "layouts": { + "labels": [ + "Split Backspace", + [ + "RShift", + "HHKB", + "Unified" + ], + [ + "Left Spacebar", + "2U", + "2.25U" + ] + ], + "keymap": [ + [ + { + "y": 0.9, + "x": 0.55, + "c": "#777777" + }, + "1,0" + ], + [ + { + "y": -0.95, + "x": 3.7, + "c": "#cccccc" + }, + "0,2", + { + "x": 8.45 + }, + "0,11" + ], + [ + { + "y": -0.95, + "x": 1.7 + }, + "0,0", + "0,1", + { + "x": 10.45 + }, + "0,12", + { + "c": "#aaaaaa", + "w": 2 + }, + "0,14\n\n\n0,0", + { + "x": 1.3500000000000014 + }, + "0,13\n\n\n0,1", + "0,14\n\n\n0,1" + ], + [ + { + "y": -0.10000000000000009, + "x": 0.35 + }, + "2,0" + ], + [ + { + "y": -0.95, + "x": 13, + "c": "#cccccc" + }, + "1,11" + ], + [ + { + "y": -0.9500000000000002, + "x": 1.5, + "c": "#aaaaaa", + "w": 1.5 + }, + "1,1", + { + "c": "#cccccc" + }, + "1,2", + { + "x": 10 + }, + "1,12", + "1,13", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "1,14" + ], + [ + { + "y": -0.10000000000000009, + "x": 0.15 + }, + "3,0" + ], + [ + { + "y": -0.8999999999999999, + "x": 1.3, + "w": 1.75 + }, + "2,1", + { + "c": "#cccccc" + }, + "2,2", + { + "x": 9.349999999999998 + }, + "2,11", + "2,12", + { + "c": "#777777", + "w": 2.25 + }, + "2,13" + ], + [ + { + "x": 1.05, + "c": "#aaaaaa", + "w": 2.25 + }, + "3,1", + { + "c": "#cccccc" + }, + "3,2", + { + "x": 8.8 + }, + "3,11", + "3,12", + { + "c": "#aaaaaa", + "w": 1.75 + }, + "3,13\n\n\n1,0", + "3,14\n\n\n1,0", + { + "x": 0.5, + "w": 2.75 + }, + "3,13\n\n\n1,1" + ], + [ + { + "x": 1.05, + "w": 1.5 + }, + "4,1", + { + "x": 13.55, + "w": 1.5 + }, + "4,14" + ], + [ + { + "r": 12, + "y": -6, + "x": 5.05, + "c": "#cccccc" + }, + "0,3", + "0,4", + "0,5", + "0,6" + ], + [ + { + "x": 4.6 + }, + "1,3", + "1,4", + "1,5", + "1,6" + ], + [ + { + "x": 4.85 + }, + "2,3", + "2,4", + "2,5", + "2,6" + ], + [ + { + "x": 5.3 + }, + "3,3", + "3,4", + "3,5", + "3,6" + ], + [ + { + "x": 6.6, + "w": 2 + }, + "4,5\n\n\n2,0", + { + "c": "#aaaaaa", + "w": 1.25 + }, + "4,6\n\n\n2,0" + ], + [ + { + "y": -0.9500000000000002, + "x": 5.05, + "w": 1.5 + }, + "4,3" + ], + [ + { + "y": 0.34999999999999964, + "x": 6.6, + "c": "#cccccc", + "w": 2.25 + }, + "4,5\n\n\n2,1", + { + "c": "#aaaaaa" + }, + "4,6\n\n\n2,1" + ], + [ + { + "r": -12, + "y": -2.8, + "x": 8.45, + "c": "#cccccc" + }, + "0,7", + "0,8", + "0,9", + "0,10" + ], + [ + { + "x": 8.05 + }, + "1,7", + "1,8", + "1,9", + "1,10" + ], + [ + { + "x": 8.2 + }, + "2,7", + "2,8", + "2,9", + "2,10" + ], + [ + { + "x": 7.75 + }, + "3,7", + "3,8", + "3,9", + "3,10" + ], + [ + { + "x": 7.75, + "w": 2.75 + }, + "4,8" + ], + [ + { + "y": -0.9500000000000002, + "x": 10.55, + "c": "#aaaaaa", + "w": 1.5 + }, + "4,10" + ] + ] + } +} From a901665bfaabeac56781fb0e84a31ee7b8aa4221 Mon Sep 17 00:00:00 2001 From: Cipulot <40441626+Cipulot@users.noreply.github.com> Date: Tue, 30 Apr 2024 19:56:23 +0200 Subject: [PATCH 2/2] Formatting --- v3/cipulot/ec_dolice/ec_dolice.json | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/v3/cipulot/ec_dolice/ec_dolice.json b/v3/cipulot/ec_dolice/ec_dolice.json index 030261db34..2e0703fd17 100644 --- a/v3/cipulot/ec_dolice/ec_dolice.json +++ b/v3/cipulot/ec_dolice/ec_dolice.json @@ -2,6 +2,10 @@ "name": "Dolice EC", "vendorId": "0x6369", "productId": "0x6BB9", + "matrix": { + "rows": 5, + "cols": 15 + }, "menus": [ { "label": "EC Tools", @@ -176,10 +180,6 @@ ] } ], - "matrix": { - "rows": 5, - "cols": 15 - }, "layouts": { "labels": [ "Split Backspace", @@ -232,14 +232,14 @@ }, "0,14\n\n\n0,0", { - "x": 1.3500000000000014 + "x": 1.35 }, "0,13\n\n\n0,1", "0,14\n\n\n0,1" ], [ { - "y": -0.10000000000000009, + "y": -0.1, "x": 0.35 }, "2,0" @@ -254,7 +254,7 @@ ], [ { - "y": -0.9500000000000002, + "y": -0.95, "x": 1.5, "c": "#aaaaaa", "w": 1.5 @@ -277,14 +277,14 @@ ], [ { - "y": -0.10000000000000009, + "y": -0.1, "x": 0.15 }, "3,0" ], [ { - "y": -0.8999999999999999, + "y": -0.9, "x": 1.3, "w": 1.75 }, @@ -294,7 +294,7 @@ }, "2,2", { - "x": 9.349999999999998 + "x": 9.35 }, "2,11", "2,12", @@ -397,7 +397,7 @@ ], [ { - "y": -0.9500000000000002, + "y": -0.95, "x": 5.05, "w": 1.5 }, @@ -405,7 +405,7 @@ ], [ { - "y": 0.34999999999999964, + "y": 0.35, "x": 6.6, "c": "#cccccc", "w": 2.25 @@ -464,7 +464,7 @@ ], [ { - "y": -0.9500000000000002, + "y": -0.95, "x": 10.55, "c": "#aaaaaa", "w": 1.5