From 0e67ab00197bbdfbc0bf313b8ec7194b0f746989 Mon Sep 17 00:00:00 2001 From: adophoxia Date: Wed, 19 Apr 2023 20:39:19 -0700 Subject: [PATCH 1/2] Add `v3` JSON for Adam64 --- v3/kbdcraft/adam64.json | 189 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 189 insertions(+) create mode 100644 v3/kbdcraft/adam64.json diff --git a/v3/kbdcraft/adam64.json b/v3/kbdcraft/adam64.json new file mode 100644 index 0000000000..b6085864cb --- /dev/null +++ b/v3/kbdcraft/adam64.json @@ -0,0 +1,189 @@ +{ + "name": "Adam64", + "vendorId": "0x586A", + "productId": "0xB001", + "keycodes": ["qmk_lighting"], + "menus": [ + { + "label": "Lighting", + "content": [ + { + "label": "Backlight", + "content": [ + { + "label": "Brightness", + "type": "range", + "options": [0, 150], + "content": ["id_qmk_rgb_matrix_brightness", 3, 1] + }, + { + "label": "Effect", + "type": "dropdown", + "content": ["id_qmk_rgb_matrix_effect", 3, 2], + "options": [ + "All Off", + "Alphas/Mods", + "Gradient Up/Down", + "Gradient Left/Right", + "Breathing", + "Band Sat.", + "Band Val.", + "Pinwheel Sat.", + "Pinwheel Val.", + "Spiral Sat.", + "Spiral Val.", + "Cycle All", + "Cycle Left/Right", + "Cycle Up/Down", + "Rainbow Moving Chevron", + "Cycle Out/In", + "Cycle Out/In Dual", + "Cycle Pinwheel", + "Cycle Spiral", + "Dual Beacon", + "Rainbow Beacon", + "Rainbow Pinwheels", + "Raindrops", + "Jellybean Raindrops", + "Hue Breathing", + "Hue Pendulum", + "Hue Wave", + "Pixel Rain", + "Pixel Flow", + "Pixel Fractal", + "Typing Heatmap", + "Digital Rain", + "Splash", + "Multisplash", + "Solid Splash", + "Solid Multisplash" + ] + }, + { + "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", + "label": "Color", + "type": "color", + "content": ["id_qmk_rgb_matrix_color", 3, 4] + } + ] + } + ] + } + ], + "matrix": { "rows": 5, "cols": 14 }, + "layouts": { + "keymap": [ + [ + "0,0", + "0,1", + "0,2", + "0,3", + "0,4", + "0,5", + "0,6", + "0,7", + "0,8", + "0,9", + "0,10", + "0,11", + "0,12", + { + "w": 2 + }, + "0,13" + ], + [ + { + "w": 1.5 + }, + "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", + { + "w": 1.5 + }, + "1,13" + ], + [ + { + "w": 1.75 + }, + "2,0", + "2,1", + "2,2", + "2,3", + "2,4", + "2,5", + "2,6", + "2,7", + "2,8", + "2,9", + "2,10", + "2,11", + { + "w": 2.25 + }, + "2,13" + ], + [ + { + "w": 2 + }, + "3,0", + "3,1", + "3,2", + "3,3", + "3,4", + "3,5", + "3,6", + "3,7", + "3,8", + "3,9", + "3,10", + "3,11", + "3,12", + "3,13" + ], + [ + { + "w": 1.25 + }, + "4,0", + { + "w": 1.25 + }, + "4,1", + { + "w": 1.25 + }, + "4,2", + { + "w": 6.25 + }, + "4,5", + "4,9", + "4,10", + "4,11", + "4,12", + "4,13" + ] + ] + } +} From da1c925af52e2c9ae847c7b00a3f7c0959d409f1 Mon Sep 17 00:00:00 2001 From: adophoxia Date: Mon, 24 Apr 2023 03:44:28 -0700 Subject: [PATCH 2/2] Add in colors for accents and modifiers --- v3/kbdcraft/adam64.json | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/v3/kbdcraft/adam64.json b/v3/kbdcraft/adam64.json index b6085864cb..dff054a037 100644 --- a/v3/kbdcraft/adam64.json +++ b/v3/kbdcraft/adam64.json @@ -81,7 +81,13 @@ "layouts": { "keymap": [ [ + { + "c": "#777777" + }, "0,0", + { + "c": "#cccccc" + }, "0,1", "0,2", "0,3", @@ -95,6 +101,7 @@ "0,11", "0,12", { + "c": "#aaaaaa", "w": 2 }, "0,13" @@ -104,6 +111,9 @@ "w": 1.5 }, "1,0", + { + "c": "#cccccc" + }, "1,1", "1,2", "1,3", @@ -138,15 +148,20 @@ "2,10", "2,11", { + "c": "#777777", "w": 2.25 }, "2,13" ], [ { + "c": "#aaaaaa", "w": 2 }, "3,0", + { + "c": "#cccccc" + }, "3,1", "3,2", "3,3", @@ -157,12 +172,22 @@ "3,8", "3,9", "3,10", + { + "c": "#aaaaaa" + }, "3,11", + { + "c": "#777777" + }, "3,12", + { + "c": "#cccccc" + }, "3,13" ], [ { + "c": "#aaaaaa", "w": 1.25 }, "4,0", @@ -175,11 +200,18 @@ }, "4,2", { + "c": "#cccccc", "w": 6.25 }, "4,5", + { + "c": "#aaaaaa" + }, "4,9", "4,10", + { + "c": "#777777" + }, "4,11", "4,12", "4,13"