From f02a80a4a924c08c3b8f87792a55abe369d48c33 Mon Sep 17 00:00:00 2001 From: Cipulot <40441626+Cipulot@users.noreply.github.com> Date: Sat, 2 Mar 2024 00:04:04 +0100 Subject: [PATCH 1/2] Add MNK 60 EC --- v3/cipulot/mkn_60_ec/mnk_60_ec.json | 407 ++++++++++++++++++++++++++++ 1 file changed, 407 insertions(+) create mode 100644 v3/cipulot/mkn_60_ec/mnk_60_ec.json diff --git a/v3/cipulot/mkn_60_ec/mnk_60_ec.json b/v3/cipulot/mkn_60_ec/mnk_60_ec.json new file mode 100644 index 0000000000..9705bfc4e4 --- /dev/null +++ b/v3/cipulot/mkn_60_ec/mnk_60_ec.json @@ -0,0 +1,407 @@ +{ + "name": "MNK 60 EC", + "vendorId": "0x6369", + "productId": "0x6BB6", + "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": 14 + }, + "layouts": { + "labels": [ + "Split Backspace", + "Split RShift", + [ + "Bottom Row", + "7U WK", + "7U WKL", + "7U HHKB" + ] + ], + "keymap": [ + [ + { + "x": 13 + }, + "0,13\n\n\n0,1", + { + "c": "#aaaaaa" + }, + "2,13\n\n\n0,1" + ], + [ + { + "y": 0.25, + "c": "#777777" + }, + "0,0", + { + "c": "#cccccc" + }, + "0,1", + "0,2", + "0,3", + "0,4", + "0,5", + "0,6", + "0,7", + "0,8", + "0,9", + "0,10", + "0,11", + "0,12", + { + "c": "#aaaaaa", + "w": 2 + }, + "0,13\n\n\n0,0" + ], + [ + { + "w": 1.5 + }, + "1,0", + { + "c": "#cccccc" + }, + "1,1", + "1,2", + "1,3", + "1,4", + "1,5", + "1,6", + "1,7", + "1,8", + "1,9", + "1,10", + "1,11", + "1,12", + { + "w": 1.5 + }, + "1,13" + ], + [ + { + "c": "#aaaaaa", + "w": 1.75 + }, + "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", + { + "c": "#aaaaaa", + "w": 2.25 + }, + "2,12" + ], + [ + { + "w": 2.25 + }, + "3,0", + { + "c": "#cccccc" + }, + "3,1", + "3,2", + "3,3", + "3,4", + "3,5", + "3,6", + "3,7", + "3,8", + "3,9", + "3,10", + { + "c": "#aaaaaa", + "w": 2.75 + }, + "3,11\n\n\n1,0", + { + "x": 0.25, + "w": 1.75 + }, + "3,11\n\n\n1,1", + { + "c": "#cccccc" + }, + "3,12\n\n\n1,1" + ], + [ + { + "c": "#aaaaaa", + "w": 1.5 + }, + "4,0\n\n\n2,0", + "4,1\n\n\n2,0", + { + "w": 1.5 + }, + "4,2\n\n\n2,0", + { + "c": "#cccccc", + "w": 7 + }, + "4,5\n\n\n2,0", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "4,10\n\n\n2,0", + "4,11\n\n\n2,0", + { + "w": 1.5 + }, + "4,12\n\n\n2,0" + ], + [ + { + "y": 0.25, + "w": 1.5 + }, + "4,0\n\n\n2,1", + { + "d": true + }, + "4,1\n\n\n2,1", + { + "w": 1.5 + }, + "4,2\n\n\n2,1", + { + "c": "#cccccc", + "w": 7 + }, + "4,5\n\n\n2,1", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "4,10\n\n\n2,1", + { + "d": true + }, + "4,11\n\n\n2,1", + { + "w": 1.5 + }, + "4,12\n\n\n2,1" + ], + [ + { + "y": 0.25, + "w": 1.5, + "d": true + }, + "4,0\n\n\n2,2", + "4,1\n\n\n2,2", + { + "w": 1.5 + }, + "4,2\n\n\n2,2", + { + "c": "#cccccc", + "w": 7 + }, + "4,5\n\n\n2,2", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "4,10\n\n\n2,2", + "4,11\n\n\n2,2", + { + "w": 1.5, + "d": true + }, + "4,12\n\n\n2,2" + ] + ] + } +} From 3cf39f21cdf77d5e3f12ae943cae9e6682ebf28b Mon Sep 17 00:00:00 2001 From: Cipulot <40441626+Cipulot@users.noreply.github.com> Date: Mon, 1 Apr 2024 23:48:17 +0200 Subject: [PATCH 2/2] formatting --- v3/cipulot/mkn_60_ec/mnk_60_ec.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/v3/cipulot/mkn_60_ec/mnk_60_ec.json b/v3/cipulot/mkn_60_ec/mnk_60_ec.json index 9705bfc4e4..c1815ca533 100644 --- a/v3/cipulot/mkn_60_ec/mnk_60_ec.json +++ b/v3/cipulot/mkn_60_ec/mnk_60_ec.json @@ -2,6 +2,10 @@ "name": "MNK 60 EC", "vendorId": "0x6369", "productId": "0x6BB6", + "matrix": { + "rows": 5, + "cols": 14 + }, "menus": [ { "label": "EC Tools", @@ -176,10 +180,6 @@ ] } ], - "matrix": { - "rows": 5, - "cols": 14 - }, "layouts": { "labels": [ "Split Backspace",