From 20757d181e28874ac7a1b66584941ac652a8b63f Mon Sep 17 00:00:00 2001 From: adophoxia Date: Thu, 30 Jan 2025 18:56:39 -0800 Subject: [PATCH 1/3] Add C3 Pro JSONs --- v3/keychron/c3_pro/c3_pro_ansi_red.json | 225 +++++++++++++++++++ v3/keychron/c3_pro/c3_pro_ansi_rgb.json | 286 ++++++++++++++++++++++++ 2 files changed, 511 insertions(+) create mode 100644 v3/keychron/c3_pro/c3_pro_ansi_red.json create mode 100644 v3/keychron/c3_pro/c3_pro_ansi_rgb.json diff --git a/v3/keychron/c3_pro/c3_pro_ansi_red.json b/v3/keychron/c3_pro/c3_pro_ansi_red.json new file mode 100644 index 0000000000..03a35f5eb2 --- /dev/null +++ b/v3/keychron/c3_pro/c3_pro_ansi_red.json @@ -0,0 +1,225 @@ +{ + "name": "Keychron C3 Pro ANSI Red", + "vendorId": "0x3434", + "productId": "0x0430", + "keycodes" : ["qmk_lighting"], + "customKeycodes": [ + {"name": "Mission Control", "title": "Mission Control in macOS", "shortName": "MCtrl"}, + {"name": "Launch Pad", "title": "Launch Pad in macOS", "shortName": "LPad"}, + {"name": "Left Option", "title": "Left Option in macOS", "shortName": "LOpt"}, + {"name": "Right Option", "title": "Right Option in macOS", "shortName": "ROpt"}, + {"name": "Left Cmd", "title": "Left Command in macOS", "shortName": "LCmd"}, + {"name": "Right Cmd", "title": "Right Command in macOS", "shortName": "RCmd"}, + {"name": "Siri", "title": "Siri in macOS", "shortName": "Siri"}, + {"name": "Task View", "title": "Task View in windows", "shortName": "Task"}, + {"name": "File Explorer", "title": "File Explorer in windows", "shortName": "File"}, + {"name": "Screen Shot", "title": "Screenshot in macOS", "shortName": "SShot"}, + {"name": "Cortana", "title": "Cortana in windows", "shortName": "Cortana"}, + {"name": "OS Switch", "title": "Switch between windows and macOS", "shortName": "OSSW"} + ], + "matrix": {"rows": 6, "cols": 17}, + "layouts": { + "keymap": [ + [ + { + "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,10", + "0,11", + "0,12", + "0,13", + { + "x": 0.25, + "c": "#aaaaaa" + }, + "0,14", + "0,15", + "0,16" + ], + [ + { + "y": 0.25 + }, + "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", + { + "c": "#aaaaaa", + "w": 2 + }, + "1,13", + { + "x": 0.25 + }, + "1,14", + "1,15", + "1,16" + ], + [ + { + "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", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "2,13", + { + "x": 0.25 + }, + "2,14", + "2,15", + "2,16" + ], + [ + { + "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": "#777777", + "w": 2.25 + }, + "3,13" + ], + [ + { + "c": "#aaaaaa", + "w": 2.25 + }, + "4,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": 2.75 + }, + "4,13", + { + "x": 1.25, + "c": "#777777" + }, + "4,15" + ], + [ + { + "c": "#aaaaaa", + "w": 1.25 + }, + "5,0", + { + "w": 1.25 + }, + "5,1", + { + "w": 1.25 + }, + "5,2", + { + "c": "#cccccc", + "w": 6.25 + }, + "5,6", + { + "c": "#aaaaaa", + "w": 1.25 + }, + "5,10", + { + "w": 1.25 + }, + "5,11", + { + "w": 1.25 + }, + "5,12", + { + "w": 1.25 + }, + "5,13", + { + "x": 0.25, + "c": "#777777" + }, + "5,14", + "5,15", + "5,16" + ] + ] + } + } \ No newline at end of file diff --git a/v3/keychron/c3_pro/c3_pro_ansi_rgb.json b/v3/keychron/c3_pro/c3_pro_ansi_rgb.json new file mode 100644 index 0000000000..2444c304dd --- /dev/null +++ b/v3/keychron/c3_pro/c3_pro_ansi_rgb.json @@ -0,0 +1,286 @@ +{ + "name": "Keychron C3 Pro ANSI RGB", + "vendorId": "0x3434", + "productId": "0x0433", + "keycodes" : ["qmk_lighting"], + "menus": [ + { + "label": "Lighting", + "content": [ + { + "label": "Backlight", + "content": [ + { + "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": [ + ["None", 0], + ["Solid Color", 1], + ["Breathing", 2], + ["Band Spiral Val", 3], + ["Cycle All", 4], + ["Cycle Left Right", 5], + ["Cycle Up Down", 6], + ["Rainbow Moving Chevron", 7], + ["Cycle Out In", 8], + ["Cycle Out In Dual", 9], + ["Cycle Pinwheel", 10], + ["Cycle Spiral", 11], + ["Dual Beacon", 12], + ["Rainbow Beacon", 13], + ["Jellybean Raindrops", 14], + ["Pixel Rain", 15], + ["Typing Heatmap", 16], + ["Digital Rain", 17], + ["Reactive Simple", 18], + ["Reactive Multiwide", 19], + ["Reactive Multinexus", 20], + ["Splash", 21], + ["Solid Splash", 22] + ] + }, + { + "showIf": "{id_qmk_rgb_matrix_effect} > 1", + "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} < 4 || {id_qmk_rgb_matrix_effect} == 18 || ({id_qmk_rgb_matrix_effect} > 17 && {id_qmk_rgb_matrix_effect} != 21) ) ", + "label": "Color", + "type": "color", + "content": ["id_qmk_rgb_matrix_color", 3, 4] + } + ] + } + ] + } + ], + "customKeycodes": [ + {"name": "Mission Control", "title": "Mission Control in macOS", "shortName": "MCtrl"}, + {"name": "Launch Pad", "title": "Launch Pad in macOS", "shortName": "LPad"}, + {"name": "Left Option", "title": "Left Option in macOS", "shortName": "LOpt"}, + {"name": "Right Option", "title": "Right Option in macOS", "shortName": "ROpt"}, + {"name": "Left Cmd", "title": "Left Command in macOS", "shortName": "LCmd"}, + {"name": "Right Cmd", "title": "Right Command in macOS", "shortName": "RCmd"}, + {"name": "Siri", "title": "Siri in macOS", "shortName": "Siri"}, + {"name": "Task View", "title": "Task View in windows", "shortName": "Task"}, + {"name": "File Explorer", "title": "File Explorer in windows", "shortName": "File"}, + {"name": "Screen Shot", "title": "Screenshot in macOS", "shortName": "SShot"}, + {"name": "Cortana", "title": "Cortana in windows", "shortName": "Cortana"}, + {"name": "Mac/Win", "title": "Switch between Windows and mac OS", "shortName": "Mac/Win"} + ], + "matrix": {"rows": 6, "cols": 17}, + "layouts": { + "keymap": [ + [ + { + "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,10", + "0,11", + "0,12", + "0,13", + { + "x": 0.25, + "c": "#aaaaaa" + }, + "0,14", + "0,15", + "0,16" + ], + [ + { + "y": 0.25 + }, + "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", + { + "c": "#aaaaaa", + "w": 2 + }, + "1,13", + { + "x": 0.25 + }, + "1,14", + "1,15", + "1,16" + ], + [ + { + "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", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "2,13", + { + "x": 0.25 + }, + "2,14", + "2,15", + "2,16" + ], + [ + { + "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": "#777777", + "w": 2.25 + }, + "3,13" + ], + [ + { + "c": "#aaaaaa", + "w": 2.25 + }, + "4,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": 2.75 + }, + "4,13", + { + "x": 1.25, + "c": "#cccccc" + }, + "4,15" + ], + [ + { + "c": "#aaaaaa", + "w": 1.25 + }, + "5,0", + { + "w": 1.25 + }, + "5,1", + { + "w": 1.25 + }, + "5,2", + { + "c": "#777777", + "w": 6.25 + }, + "5,6", + { + "c": "#aaaaaa", + "w": 1.25 + }, + "5,10", + { + "w": 1.25 + }, + "5,11", + { + "w": 1.25 + }, + "5,12", + { + "w": 1.25 + }, + "5,13", + { + "x": 0.25, + "c": "#cccccc" + }, + "5,14", + "5,15", + "5,16" + ] + ] + } + } \ No newline at end of file From be0cf41c12d17215eb6f5de1b1b577b7277cdc24 Mon Sep 17 00:00:00 2001 From: Cipulot <40441626+Cipulot@users.noreply.github.com> Date: Thu, 6 Feb 2025 20:06:09 +0100 Subject: [PATCH 2/3] Update v3/keychron/c3_pro/c3_pro_ansi_red.json --- v3/keychron/c3_pro/c3_pro_ansi_red.json | 499 +++++++++++++----------- 1 file changed, 276 insertions(+), 223 deletions(-) diff --git a/v3/keychron/c3_pro/c3_pro_ansi_red.json b/v3/keychron/c3_pro/c3_pro_ansi_red.json index 03a35f5eb2..6e6b08cd2d 100644 --- a/v3/keychron/c3_pro/c3_pro_ansi_red.json +++ b/v3/keychron/c3_pro/c3_pro_ansi_red.json @@ -1,225 +1,278 @@ { - "name": "Keychron C3 Pro ANSI Red", - "vendorId": "0x3434", - "productId": "0x0430", - "keycodes" : ["qmk_lighting"], - "customKeycodes": [ - {"name": "Mission Control", "title": "Mission Control in macOS", "shortName": "MCtrl"}, - {"name": "Launch Pad", "title": "Launch Pad in macOS", "shortName": "LPad"}, - {"name": "Left Option", "title": "Left Option in macOS", "shortName": "LOpt"}, - {"name": "Right Option", "title": "Right Option in macOS", "shortName": "ROpt"}, - {"name": "Left Cmd", "title": "Left Command in macOS", "shortName": "LCmd"}, - {"name": "Right Cmd", "title": "Right Command in macOS", "shortName": "RCmd"}, - {"name": "Siri", "title": "Siri in macOS", "shortName": "Siri"}, - {"name": "Task View", "title": "Task View in windows", "shortName": "Task"}, - {"name": "File Explorer", "title": "File Explorer in windows", "shortName": "File"}, - {"name": "Screen Shot", "title": "Screenshot in macOS", "shortName": "SShot"}, - {"name": "Cortana", "title": "Cortana in windows", "shortName": "Cortana"}, - {"name": "OS Switch", "title": "Switch between windows and macOS", "shortName": "OSSW"} - ], - "matrix": {"rows": 6, "cols": 17}, - "layouts": { - "keymap": [ - [ - { - "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,10", - "0,11", - "0,12", - "0,13", - { - "x": 0.25, - "c": "#aaaaaa" - }, - "0,14", - "0,15", - "0,16" - ], - [ - { - "y": 0.25 - }, - "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", - { - "c": "#aaaaaa", - "w": 2 - }, - "1,13", - { - "x": 0.25 - }, - "1,14", - "1,15", - "1,16" - ], - [ - { - "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", - { - "c": "#aaaaaa", - "w": 1.5 - }, - "2,13", - { - "x": 0.25 - }, - "2,14", - "2,15", - "2,16" - ], - [ - { - "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": "#777777", - "w": 2.25 - }, - "3,13" - ], - [ - { - "c": "#aaaaaa", - "w": 2.25 - }, - "4,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": 2.75 - }, - "4,13", - { - "x": 1.25, - "c": "#777777" - }, - "4,15" - ], - [ - { - "c": "#aaaaaa", - "w": 1.25 - }, - "5,0", - { - "w": 1.25 - }, - "5,1", - { - "w": 1.25 - }, - "5,2", - { - "c": "#cccccc", - "w": 6.25 - }, - "5,6", - { - "c": "#aaaaaa", - "w": 1.25 - }, - "5,10", - { - "w": 1.25 - }, - "5,11", - { - "w": 1.25 - }, - "5,12", - { - "w": 1.25 - }, - "5,13", - { - "x": 0.25, - "c": "#777777" - }, - "5,14", - "5,15", - "5,16" - ] - ] + "name": "Keychron C3 Pro ANSI Red", + "vendorId": "0x3434", + "productId": "0x0430", + "matrix": { + "rows": 6, + "cols": 17 + }, + "customKeycodes": [ + { + "name": "Mission Control", + "title": "Mission Control in macOS", + "shortName": "MCtrl" + }, + { + "name": "Launch Pad", + "title": "Launch Pad in macOS", + "shortName": "LPad" + }, + { + "name": "Left Option", + "title": "Left Option in macOS", + "shortName": "LOpt" + }, + { + "name": "Right Option", + "title": "Right Option in macOS", + "shortName": "ROpt" + }, + { + "name": "Left Cmd", + "title": "Left Command in macOS", + "shortName": "LCmd" + }, + { + "name": "Right Cmd", + "title": "Right Command in macOS", + "shortName": "RCmd" + }, + { + "name": "Siri", + "title": "Siri in macOS", + "shortName": "Siri" + }, + { + "name": "Task View", + "title": "Task View in windows", + "shortName": "Task" + }, + { + "name": "File Explorer", + "title": "File Explorer in windows", + "shortName": "File" + }, + { + "name": "Screen Shot", + "title": "Screenshot in macOS", + "shortName": "SShot" + }, + { + "name": "Cortana", + "title": "Cortana in windows", + "shortName": "Cortana" + }, + { + "name": "OS Switch", + "title": "Switch between windows and macOS", + "shortName": "OSSW" } - } \ No newline at end of file + ], + "keycodes": [ + "qmk_lighting" + ], + "layouts": { + "keymap": [ + [ + { + "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,10", + "0,11", + "0,12", + "0,13", + { + "x": 0.25, + "c": "#aaaaaa" + }, + "0,14", + "0,15", + "0,16" + ], + [ + { + "y": 0.25 + }, + "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", + { + "c": "#aaaaaa", + "w": 2 + }, + "1,13", + { + "x": 0.25 + }, + "1,14", + "1,15", + "1,16" + ], + [ + { + "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", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "2,13", + { + "x": 0.25 + }, + "2,14", + "2,15", + "2,16" + ], + [ + { + "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": "#777777", + "w": 2.25 + }, + "3,13" + ], + [ + { + "c": "#aaaaaa", + "w": 2.25 + }, + "4,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": 2.75 + }, + "4,13", + { + "x": 1.25, + "c": "#777777" + }, + "4,15" + ], + [ + { + "c": "#aaaaaa", + "w": 1.25 + }, + "5,0", + { + "w": 1.25 + }, + "5,1", + { + "w": 1.25 + }, + "5,2", + { + "c": "#cccccc", + "w": 6.25 + }, + "5,6", + { + "c": "#aaaaaa", + "w": 1.25 + }, + "5,10", + { + "w": 1.25 + }, + "5,11", + { + "w": 1.25 + }, + "5,12", + { + "w": 1.25 + }, + "5,13", + { + "x": 0.25, + "c": "#777777" + }, + "5,14", + "5,15", + "5,16" + ] + ] + } +} From a89f8a6e49e771e2fd8aba85c58691b6573e8e08 Mon Sep 17 00:00:00 2001 From: Cipulot <40441626+Cipulot@users.noreply.github.com> Date: Thu, 6 Feb 2025 20:06:22 +0100 Subject: [PATCH 3/3] Update v3/keychron/c3_pro/c3_pro_ansi_rgb.json --- v3/keychron/c3_pro/c3_pro_ansi_rgb.json | 708 ++++++++++++++---------- 1 file changed, 426 insertions(+), 282 deletions(-) diff --git a/v3/keychron/c3_pro/c3_pro_ansi_rgb.json b/v3/keychron/c3_pro/c3_pro_ansi_rgb.json index 2444c304dd..ad8c615d01 100644 --- a/v3/keychron/c3_pro/c3_pro_ansi_rgb.json +++ b/v3/keychron/c3_pro/c3_pro_ansi_rgb.json @@ -1,286 +1,430 @@ { - "name": "Keychron C3 Pro ANSI RGB", - "vendorId": "0x3434", - "productId": "0x0433", - "keycodes" : ["qmk_lighting"], - "menus": [ - { - "label": "Lighting", - "content": [ - { - "label": "Backlight", - "content": [ - { - "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": [ - ["None", 0], - ["Solid Color", 1], - ["Breathing", 2], - ["Band Spiral Val", 3], - ["Cycle All", 4], - ["Cycle Left Right", 5], - ["Cycle Up Down", 6], - ["Rainbow Moving Chevron", 7], - ["Cycle Out In", 8], - ["Cycle Out In Dual", 9], - ["Cycle Pinwheel", 10], - ["Cycle Spiral", 11], - ["Dual Beacon", 12], - ["Rainbow Beacon", 13], - ["Jellybean Raindrops", 14], - ["Pixel Rain", 15], - ["Typing Heatmap", 16], - ["Digital Rain", 17], - ["Reactive Simple", 18], - ["Reactive Multiwide", 19], - ["Reactive Multinexus", 20], - ["Splash", 21], - ["Solid Splash", 22] + "name": "Keychron C3 Pro ANSI RGB", + "vendorId": "0x3434", + "productId": "0x0433", + "matrix": { + "rows": 6, + "cols": 17 + }, + "customKeycodes": [ + { + "name": "Mission Control", + "title": "Mission Control in macOS", + "shortName": "MCtrl" + }, + { + "name": "Launch Pad", + "title": "Launch Pad in macOS", + "shortName": "LPad" + }, + { + "name": "Left Option", + "title": "Left Option in macOS", + "shortName": "LOpt" + }, + { + "name": "Right Option", + "title": "Right Option in macOS", + "shortName": "ROpt" + }, + { + "name": "Left Cmd", + "title": "Left Command in macOS", + "shortName": "LCmd" + }, + { + "name": "Right Cmd", + "title": "Right Command in macOS", + "shortName": "RCmd" + }, + { + "name": "Siri", + "title": "Siri in macOS", + "shortName": "Siri" + }, + { + "name": "Task View", + "title": "Task View in windows", + "shortName": "Task" + }, + { + "name": "File Explorer", + "title": "File Explorer in windows", + "shortName": "File" + }, + { + "name": "Screen Shot", + "title": "Screenshot in macOS", + "shortName": "SShot" + }, + { + "name": "Cortana", + "title": "Cortana in windows", + "shortName": "Cortana" + }, + { + "name": "Mac/Win", + "title": "Switch between Windows and mac OS", + "shortName": "Mac/Win" + } + ], + "keycodes": [ + "qmk_lighting" + ], + "menus": [ + { + "label": "Lighting", + "content": [ + { + "label": "Backlight", + "content": [ + { + "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": [ + [ + "None", + 0 + ], + [ + "Solid Color", + 1 + ], + [ + "Breathing", + 2 + ], + [ + "Band Spiral Val", + 3 + ], + [ + "Cycle All", + 4 + ], + [ + "Cycle Left Right", + 5 + ], + [ + "Cycle Up Down", + 6 + ], + [ + "Rainbow Moving Chevron", + 7 + ], + [ + "Cycle Out In", + 8 + ], + [ + "Cycle Out In Dual", + 9 + ], + [ + "Cycle Pinwheel", + 10 + ], + [ + "Cycle Spiral", + 11 + ], + [ + "Dual Beacon", + 12 + ], + [ + "Rainbow Beacon", + 13 + ], + [ + "Jellybean Raindrops", + 14 + ], + [ + "Pixel Rain", + 15 + ], + [ + "Typing Heatmap", + 16 + ], + [ + "Digital Rain", + 17 + ], + [ + "Reactive Simple", + 18 + ], + [ + "Reactive Multiwide", + 19 + ], + [ + "Reactive Multinexus", + 20 + ], + [ + "Splash", + 21 + ], + [ + "Solid Splash", + 22 ] - }, - { - "showIf": "{id_qmk_rgb_matrix_effect} > 1", - "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} < 4 || {id_qmk_rgb_matrix_effect} == 18 || ({id_qmk_rgb_matrix_effect} > 17 && {id_qmk_rgb_matrix_effect} != 21) ) ", - "label": "Color", - "type": "color", - "content": ["id_qmk_rgb_matrix_color", 3, 4] - } - ] - } - ] - } - ], - "customKeycodes": [ - {"name": "Mission Control", "title": "Mission Control in macOS", "shortName": "MCtrl"}, - {"name": "Launch Pad", "title": "Launch Pad in macOS", "shortName": "LPad"}, - {"name": "Left Option", "title": "Left Option in macOS", "shortName": "LOpt"}, - {"name": "Right Option", "title": "Right Option in macOS", "shortName": "ROpt"}, - {"name": "Left Cmd", "title": "Left Command in macOS", "shortName": "LCmd"}, - {"name": "Right Cmd", "title": "Right Command in macOS", "shortName": "RCmd"}, - {"name": "Siri", "title": "Siri in macOS", "shortName": "Siri"}, - {"name": "Task View", "title": "Task View in windows", "shortName": "Task"}, - {"name": "File Explorer", "title": "File Explorer in windows", "shortName": "File"}, - {"name": "Screen Shot", "title": "Screenshot in macOS", "shortName": "SShot"}, - {"name": "Cortana", "title": "Cortana in windows", "shortName": "Cortana"}, - {"name": "Mac/Win", "title": "Switch between Windows and mac OS", "shortName": "Mac/Win"} - ], - "matrix": {"rows": 6, "cols": 17}, - "layouts": { - "keymap": [ - [ - { - "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,10", - "0,11", - "0,12", - "0,13", - { - "x": 0.25, - "c": "#aaaaaa" - }, - "0,14", - "0,15", - "0,16" - ], - [ - { - "y": 0.25 - }, - "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", - { - "c": "#aaaaaa", - "w": 2 - }, - "1,13", - { - "x": 0.25 - }, - "1,14", - "1,15", - "1,16" - ], - [ - { - "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", - { - "c": "#aaaaaa", - "w": 1.5 - }, - "2,13", - { - "x": 0.25 - }, - "2,14", - "2,15", - "2,16" - ], - [ - { - "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": "#777777", - "w": 2.25 - }, - "3,13" - ], - [ - { - "c": "#aaaaaa", - "w": 2.25 - }, - "4,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": 2.75 - }, - "4,13", - { - "x": 1.25, - "c": "#cccccc" - }, - "4,15" - ], - [ - { - "c": "#aaaaaa", - "w": 1.25 - }, - "5,0", - { - "w": 1.25 - }, - "5,1", - { - "w": 1.25 - }, - "5,2", - { - "c": "#777777", - "w": 6.25 - }, - "5,6", - { - "c": "#aaaaaa", - "w": 1.25 - }, - "5,10", - { - "w": 1.25 - }, - "5,11", - { - "w": 1.25 - }, - "5,12", - { - "w": 1.25 - }, - "5,13", - { - "x": 0.25, - "c": "#cccccc" - }, - "5,14", - "5,15", - "5,16" - ] + ] + }, + { + "showIf": "{id_qmk_rgb_matrix_effect} > 1", + "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} < 4 || {id_qmk_rgb_matrix_effect} == 18 || ({id_qmk_rgb_matrix_effect} > 17 && {id_qmk_rgb_matrix_effect} != 21) ) ", + "label": "Color", + "type": "color", + "content": [ + "id_qmk_rgb_matrix_color", + 3, + 4 + ] + } + ] + } ] } - } \ No newline at end of file + ], + "layouts": { + "keymap": [ + [ + { + "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,10", + "0,11", + "0,12", + "0,13", + { + "x": 0.25, + "c": "#aaaaaa" + }, + "0,14", + "0,15", + "0,16" + ], + [ + { + "y": 0.25 + }, + "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", + { + "c": "#aaaaaa", + "w": 2 + }, + "1,13", + { + "x": 0.25 + }, + "1,14", + "1,15", + "1,16" + ], + [ + { + "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", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "2,13", + { + "x": 0.25 + }, + "2,14", + "2,15", + "2,16" + ], + [ + { + "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": "#777777", + "w": 2.25 + }, + "3,13" + ], + [ + { + "c": "#aaaaaa", + "w": 2.25 + }, + "4,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": 2.75 + }, + "4,13", + { + "x": 1.25, + "c": "#cccccc" + }, + "4,15" + ], + [ + { + "c": "#aaaaaa", + "w": 1.25 + }, + "5,0", + { + "w": 1.25 + }, + "5,1", + { + "w": 1.25 + }, + "5,2", + { + "c": "#777777", + "w": 6.25 + }, + "5,6", + { + "c": "#aaaaaa", + "w": 1.25 + }, + "5,10", + { + "w": 1.25 + }, + "5,11", + { + "w": 1.25 + }, + "5,12", + { + "w": 1.25 + }, + "5,13", + { + "x": 0.25, + "c": "#cccccc" + }, + "5,14", + "5,15", + "5,16" + ] + ] + } +}