From 4a82be87a4fc15c71b2f9d4dc3e505ac10291807 Mon Sep 17 00:00:00 2001 From: joliverMI Date: Fri, 9 Aug 2024 09:44:56 -0400 Subject: [PATCH 1/3] Create recore_v3.json.json Adding VIA support for Recore board --- v3/pmk/recore/v3/recore_v3.json.json | 625 +++++++++++++++++++++++++++ 1 file changed, 625 insertions(+) create mode 100644 v3/pmk/recore/v3/recore_v3.json.json diff --git a/v3/pmk/recore/v3/recore_v3.json.json b/v3/pmk/recore/v3/recore_v3.json.json new file mode 100644 index 0000000000..01960f39f1 --- /dev/null +++ b/v3/pmk/recore/v3/recore_v3.json.json @@ -0,0 +1,625 @@ +{ + "name": "RecoreV3", + "productId": "0x0001", + "vendorId": "0x4A4F", + "menus": [ + { + "label": "PMK Custom Settings", + "content": [ + { + "label": "Hardware Repeat", + "content": [ + { + "label": "Enable Hardware Repeat", + "type": "toggle", + "options": [ + 0, + 1 + ], + "content": [ + "id_enable_repeat", + 0, + 1 + ] + }, + { + "showIf": "{id_enable_repeat} == 1", + "content": [ + { + "label": "Repeat Numbers", + "content": [ + "id_repeat_numbers", + 0, + 3 + ], + "type": "toggle" + }, + { + "label": "Repeat Alphas", + "content": [ + "id_repeat_alphas", + 0, + 4 + ], + "type": "toggle" + }, + { + "label": "Repeat Mods", + "content": [ + "id_repeat_mods", + 0, + 5 + ], + "type": "toggle" + }, + { + "label": "Repeat Delay (ms) [min: 100; max: 250]", + "type": "range", + "options": [ + 100, + 250 + ], + "content": [ + "id_repeat_delay", + 0, + 6 + ] + }, + { + "label": "Repeat Term (ms) [min: 5; max: 15]", + "type": "range", + "options": [ + 5, + 15 + ], + "content": [ + "id_repeat_rate", + 0, + 7 + ] + } + ] + } + ] + }, + { + "label": "Capslock LED Settings", + "content": [ + { + "label": "Enable Capslock LED", + "type": "toggle", + "content": [ + "id_caps_flash", + 0, + 2 + ] + }, + { + "showIf": "{id_caps_flash} == 1", + "label": "Enable Capslock Twinkle", + "type": "toggle", + "content": [ + "id_caps_twinkle", + 0, + 12 + ] + }, + { + "showIf": "{id_caps_flash} == 1", + "label": "Caps Color", + "type": "color", + "content": [ + "id_caps_color", + 0, + 13 + ] + } + ] + }, + { + "label": "Layer Lighting", + "content": [ + { + "label": "LED Brightness", + "type": "range", + "options": [ + 0, + 255 + ], + "content": [ + "id_led_brightness", + 0, + 8 + ] + }, + { + "label": "Typing Color", + "type": "color", + "content": [ + "id_typing_color", + 0, + 9 + ] + }, + { + "label": "Gaming Color", + "type": "color", + "content": [ + "id_gaming_color", + 0, + 10 + ] + }, + { + "label": "Mods Color", + "type": "color", + "content": [ + "id_mods_color", + 0, + 11 + ] + } + ] + } + ] + } + ], + "matrix": { + "rows": 10, + "cols": 8 + }, + "layouts": { + "keymap": [ + [ + { + "x": 3.5 + }, + "0,3", + { + "x": 10.5 + }, + "5,4" + ], + [ + { + "y": -0.75, + "x": 2.5 + }, + "0,2", + { + "x": 1 + }, + "0,4", + { + "x": 8.5 + }, + "5,3", + { + "x": 1 + }, + "5,5" + ], + [ + { + "y": -0.875, + "x": 5.5 + }, + "0,5", + { + "x": 6.5 + }, + "5,2" + ], + [ + { + "y": -0.625, + "x": 0.25, + "c": "#aaaaaa", + "w": 1.25 + }, + "0,0", + { + "c": "#cccccc" + }, + "0,1", + { + "x": 14.5 + }, + "5,6", + { + "c": "#aaaaaa", + "w": 1.25 + }, + "5,7" + ], + [ + { + "y": -0.75, + "x": 3.5, + "c": "#cccccc" + }, + "1,3", + { + "x": 10.5 + }, + "6,4" + ], + [ + { + "y": -0.75, + "x": 2.5 + }, + "1,2", + { + "x": 1 + }, + "1,4", + { + "x": 8.5 + }, + "6,3", + { + "x": 1 + }, + "6,5" + ], + [ + { + "y": -0.875, + "x": 5.5 + }, + "1,5", + { + "x": 6.5 + }, + "6,2" + ], + [ + { + "y": -0.625, + "x": 0.25, + "c": "#aaaaaa", + "w": 1.25 + }, + "1,0", + { + "c": "#cccccc" + }, + "1,1", + { + "x": 14.5 + }, + "6,6", + { + "c": "#aaaaaa", + "w": 1.25 + }, + "6,7" + ], + [ + { + "y": -0.75, + "x": 3.5, + "c": "#cccccc" + }, + "2,3", + { + "x": 10.5 + }, + "7,4" + ], + [ + { + "y": -0.75, + "x": 2.5 + }, + "2,2", + { + "x": 1 + }, + "2,4", + { + "x": 8.5 + }, + "7,3", + { + "x": 1 + }, + "7,5" + ], + [ + { + "y": -0.875, + "x": 5.5 + }, + "2,5", + { + "x": 6.5 + }, + "7,2" + ], + [ + { + "y": -0.625, + "x": 0.25, + "c": "#aaaaaa", + "w": 1.25 + }, + "2,0", + { + "c": "#cccccc" + }, + "2,1", + { + "x": 14.5 + }, + "7,6", + { + "c": "#aaaaaa", + "w": 1.25 + }, + "7,7" + ], + [ + { + "y": -0.75, + "x": 3.5, + "c": "#cccccc" + }, + "3,3", + { + "x": 10.5 + }, + "8,4" + ], + [ + { + "y": -0.75, + "x": 2.5 + }, + "3,2", + { + "x": 1 + }, + "3,4", + { + "x": 8.5 + }, + "8,3", + { + "x": 1 + }, + "8,5" + ], + [ + { + "y": -0.875, + "x": 5.5 + }, + "3,5", + { + "x": 6.5 + }, + "8,2" + ], + [ + { + "y": -0.625, + "x": 0.25, + "c": "#aaaaaa", + "w": 1.25 + }, + "3,0", + { + "c": "#cccccc" + }, + "3,1", + { + "x": 14.5 + }, + "8,6", + { + "c": "#aaaaaa", + "w": 1.25 + }, + "8,7" + ], + [ + { + "y": -0.5, + "x": 2.5, + "w": 1.25 + }, + "4,2", + { + "x": 10.75, + "w": 1.25 + }, + "9,4", + { + "w": 1.25 + }, + "9,5" + ], + [ + { + "y": -0.5, + "x": 0.25, + "w": 1.25 + }, + "4,0", + { + "c": "#cccccc" + }, + "4,1", + { + "x": 14.5 + }, + "9,6", + { + "c": "#aaaaaa", + "w": 1.25 + }, + "9,7" + ], + [ + { + "ry": 2.75, + "y": 1.5, + "x": 3.75, + "w": 1.25 + }, + "4,3" + ], + [ + { + "r": 15, + "rx": 4.4, + "ry": 7.1, + "y": -2.91, + "x": 0.09999999999999964, + "w": 1.25 + }, + "4,5" + ], + [ + { + "r": 35, + "y": -1.5899999999999999, + "x": 0.6500000000000004, + "h": 1.25 + }, + "4,6" + ], + [ + { + "r": 54, + "y": -1.4, + "x": 0.8499999999999996, + "h": 1.25 + }, + "4,7" + ], + [ + { + "r": 90, + "rx": 7.5, + "ry": 0.75, + "c": "#777777", + "w": 1.25 + }, + "0,6" + ], + [ + { + "ry": 2, + "w": 1.25 + }, + "1,6" + ], + [ + { + "ry": 3.25, + "w": 1.25 + }, + "3,6" + ], + [ + { + "rx": 8.5, + "ry": 0.75, + "w": 1.25 + }, + "0,7" + ], + [ + { + "ry": 2, + "w": 1.25 + }, + "1,7" + ], + [ + { + "ry": 3.25, + "w": 1.25 + }, + "3,7" + ], + [ + { + "r": -90, + "rx": 11, + "ry": 3, + "x": 1, + "w": 1.25 + }, + "5,0" + ], + [ + { + "ry": 3.25, + "w": 1.25 + }, + "6,0" + ], + [ + { + "ry": 4.5, + "w": 1.25 + }, + "8,0" + ], + [ + { + "rx": 12, + "ry": 2, + "w": 1.25 + }, + "5,1" + ], + [ + { + "ry": 3.25, + "w": 1.25 + }, + "6,1" + ], + [ + { + "ry": 4.5, + "w": 1.25 + }, + "8,1" + ], + [ + { + "r": -54, + "rx": 10.82, + "ry": 6.314, + "c": "#aaaaaa", + "h": 1.25 + }, + "9,0" + ], + [ + { + "r": -35, + "rx": 11.741, + "ry": 5.179, + "h": 1.25 + }, + "9,1" + ], + [ + { + "r": -15, + "rx": 13.043, + "ry": 4.639, + "w": 1.25 + }, + "9,2" + ] + ] + } +} \ No newline at end of file From 97e9b9d7b600e6c82e9733a50a5eb0a56da626e0 Mon Sep 17 00:00:00 2001 From: joliverMI Date: Fri, 9 Aug 2024 09:49:24 -0400 Subject: [PATCH 2/3] Update recore_v3.json.json Reorganized json to match other PMK profiles. --- v3/pmk/recore/v3/recore_v3.json.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/v3/pmk/recore/v3/recore_v3.json.json b/v3/pmk/recore/v3/recore_v3.json.json index 01960f39f1..947ba253a1 100644 --- a/v3/pmk/recore/v3/recore_v3.json.json +++ b/v3/pmk/recore/v3/recore_v3.json.json @@ -1,7 +1,11 @@ { "name": "RecoreV3", - "productId": "0x0001", "vendorId": "0x4A4F", + "productId": "0x0001", + "matrix": { + "rows": 10, + "cols": 8 + }, "menus": [ { "label": "PMK Custom Settings", @@ -164,10 +168,6 @@ ] } ], - "matrix": { - "rows": 10, - "cols": 8 - }, "layouts": { "keymap": [ [ From 202a86d5bdddc5a78a07e24e2619906b505a77e1 Mon Sep 17 00:00:00 2001 From: joliverMI Date: Fri, 9 Aug 2024 10:19:51 -0400 Subject: [PATCH 3/3] Fixed naming on json file --- v3/pmk/recore/v3/{recore_v3.json.json => recore_v3.json} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename v3/pmk/recore/v3/{recore_v3.json.json => recore_v3.json} (100%) diff --git a/v3/pmk/recore/v3/recore_v3.json.json b/v3/pmk/recore/v3/recore_v3.json similarity index 100% rename from v3/pmk/recore/v3/recore_v3.json.json rename to v3/pmk/recore/v3/recore_v3.json