diff options
Diffstat (limited to 'keyboards/keychron/q14_pro/via_json')
-rwxr-xr-x | keyboards/keychron/q14_pro/via_json/q14_pro_ansi_encoder.json | 461 | ||||
-rwxr-xr-x | keyboards/keychron/q14_pro/via_json/q14_pro_iso_encoder.json | 472 |
2 files changed, 933 insertions, 0 deletions
diff --git a/keyboards/keychron/q14_pro/via_json/q14_pro_ansi_encoder.json b/keyboards/keychron/q14_pro/via_json/q14_pro_ansi_encoder.json new file mode 100755 index 0000000000..60d7f0c670 --- /dev/null +++ b/keyboards/keychron/q14_pro/via_json/q14_pro_ansi_encoder.json @@ -0,0 +1,461 @@ +{ + "name": "Keychron Q14 Pro ANIS Knob", + "vendorId": "0x3434", + "productId": "0x06E0", + "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": "Left Option", "title": "Left Option", "shortName": "LOpt"}, + {"name": "Right Option", "title": "Right Option", "shortName": "ROpt"}, + {"name": "Left Cmd", "title": "Left Command", "shortName": "LCmd"}, + {"name": "Right Cmd", "title": "Right Command", "shortName": "RCmd"}, + {"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": "Siri", "title": "Siri in macOS", "shortName": "Siri"}, + {"name": "Bluetooth Host 1", "title": "Bluetooth Host 1", "shortName": "BTH1"}, + {"name": "Bluetooth Host 2", "title": "Bluetooth Host 2", "shortName": "BTH2"}, + {"name": "Bluetooth Host 3", "title": "Bluetooth Host 3", "shortName": "BTH3"}, + {"name": "Battery Level", "title": "Show battery level", "shortName": "Batt"} + ], + "matrix": {"rows": 6, "cols": 19}, + "layouts": { + "keymap": [ + [ + { + "y": 0.8 + }, + "0,0\n\n\n\n\n\n\n\n\ne0", + "0,1", + "0,2", + "0,3", + { + "x": 0.5, + "c": "#777777" + }, + "0,4\nESC", + { + "x": 0.5, + "c": "#cccccc" + }, + "0,5", + "0,6", + { + "x": 9.3 + }, + "0,15", + "0,16", + { + "x": 0.45, + "c": "#aaaaaa" + }, + "0,17", + { + "x": 0.5 + }, + "0,18" + ], + [ + { + "y": 0.3, + "x": 7.25, + "c": "#cccccc" + }, + "1,6", + { + "x": 9.7 + }, + "1,16" + ], + [ + { + "y": -0.9, + "x": 16.95 + }, + "1,15", + { + "x": 1, + "c": "#aaaaaa", + "w": 2 + }, + "1,17", + { + "x": 0.4 + }, + "1,18" + ], + [ + { + "y": -0.9, + "c": "#cccccc" + }, + "1,0", + "1,1", + "1,2", + "1,3", + { + "x": 1.25, + "c": "#aaaaaa" + }, + "1,4", + { + "c": "#cccccc" + }, + "1,5" + ], + [ + { + "y": -0.1, + "x": 17.65 + }, + "2,15", + "2,16", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "2,17", + { + "x": 0.4 + }, + "2,18" + ], + [ + { + "y": -0.9, + "c": "#cccccc" + }, + "2,0", + "2,1", + "2,2", + { + "h": 2 + }, + "2,3", + { + "x": 1, + "c": "#aaaaaa", + "w": 1.5 + }, + "2,4", + { + "c": "#cccccc" + }, + "2,5" + ], + [ + { + "y": -0.1, + "x": 17.1 + }, + "3,15", + "3,16", + { + "c": "#777777", + "w": 2.25 + }, + "3,17", + { + "x": 0.4, + "c": "#aaaaaa" + }, + "3,18" + ], + [ + { + "y": -0.9, + "c": "#cccccc" + }, + "3,0", + "3,1", + "3,2", + { + "x": 1.75, + "c": "#aaaaaa", + "w": 1.75 + }, + "3,4", + { + "c": "#cccccc" + }, + "3,5" + ], + [ + { + "y": -0.1, + "x": 17.75 + }, + "4,16", + { + "c": "#aaaaaa", + "w": 1.75 + }, + "4,17" + ], + [ + { + "y": -0.9, + "c": "#cccccc" + }, + "4,0", + "4,1", + "4,2", + { + "h": 2 + }, + "4,3", + { + "x": 0.5, + "c": "#aaaaaa", + "w": 2.25 + }, + "4,4", + { + "c": "#cccccc" + }, + "4,6" + ], + [ + { + "y": -0.75, + "x": 20.75, + "c": "#777777" + }, + "4,18" + ], + [ + { + "y": -0.25, + "c": "#cccccc", + "w": 2 + }, + "5,1", + "5,2", + { + "x": 1.5, + "c": "#aaaaaa", + "w": 1.25 + }, + "5,4", + { + "w": 1.25 + }, + "5,5" + ], + [ + { + "y": -0.75, + "x": 19.75, + "c": "#777777" + }, + "5,16", + "5,17", + "5,18" + ], + [ + { + "r": 6, + "y": -7.55, + "x": 8.25, + "c": "#cccccc" + }, + "0,7", + "0,8", + { + "x": 0.25, + "c": "#aaaaaa" + }, + "0,9", + "0,10" + ], + [ + { + "y": 0.35, + "x": 8.6, + "c": "#cccccc" + }, + "1,7", + "1,8", + "1,9", + "1,10" + ], + [ + { + "y": -0.015, + "x": 9.13 + }, + "2,7" + ], + [ + { + "y": -0.985, + "x": 8.13 + }, + "2,6", + { + "x": 1 + }, + "2,8", + "2,9" + ], + [ + { + "x": 8.3 + }, + "3,6", + "3,7", + "3,8", + "3,9" + ], + [ + { + "x": 8.65 + }, + "4,7", + "4,8", + "4,9", + "4,10" + ], + [ + { + "x": 8.75, + "c": "#aaaaaa", + "w": 1.25 + }, + "5,6", + { + "w": 2.25 + }, + "5,7", + "5,10" + ], + [ + { + "r": -6, + "y": -3.75, + "x": 12.75 + }, + "0,11", + "0,12", + { + "x": 0.25, + "c": "#cccccc" + }, + "0,13", + "0,14" + ], + [ + { + "y": 0.4, + "x": 12.5 + }, + "1,11", + "1,12", + "1,13", + "1,14" + ], + [ + { + "x": 12.1 + }, + "2,10", + "2,11", + "2,12", + "2,13", + "2,14" + ], + [ + { + "x": 12.45 + }, + "3,11", + "3,12", + "3,13", + "3,14" + ], + [ + { + "x": 12 + }, + "4,11", + "4,12", + "4,13", + "4,14", + "4,15" + ], + [ + { + "x": 12.05, + "c": "#aaaaaa" + }, + "5,11", + { + "w": 2.75 + }, + "5,12", + "5,13" + ] + ] + } +} diff --git a/keyboards/keychron/q14_pro/via_json/q14_pro_iso_encoder.json b/keyboards/keychron/q14_pro/via_json/q14_pro_iso_encoder.json new file mode 100755 index 0000000000..815827dadb --- /dev/null +++ b/keyboards/keychron/q14_pro/via_json/q14_pro_iso_encoder.json @@ -0,0 +1,472 @@ +{ + "name": "Keychron Q14 Pro ISO Knob", + "vendorId": "0x3434", + "productId": "0x06E1", + "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": "Left Option", "title": "Left Option", "shortName": "LOpt"}, + {"name": "Right Option", "title": "Right Option", "shortName": "ROpt"}, + {"name": "Left Cmd", "title": "Left Command", "shortName": "LCmd"}, + {"name": "Right Cmd", "title": "Right Command", "shortName": "RCmd"}, + {"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": "Siri", "title": "Siri in macOS", "shortName": "Siri"}, + {"name": "Bluetooth Host 1", "title": "Bluetooth Host 1", "shortName": "BTH1"}, + {"name": "Bluetooth Host 2", "title": "Bluetooth Host 2", "shortName": "BTH2"}, + {"name": "Bluetooth Host 3", "title": "Bluetooth Host 3", "shortName": "BTH3"}, + {"name": "Battery Level", "title": "Show battery level", "shortName": "Batt"} + ], + "matrix": {"rows": 6, "cols": 19}, + "layouts": { + "keymap": [ + [ + { + "y": 0.8, + "x": 17.3 + }, + "0,15", + "0,16", + { + "x": 0.45, + "c": "#aaaaaa" + }, + "0,17", + { + "x": 0.5 + }, + "0,18" + ], + [ + { + "y": -0.95, + "c": "#aaaaaa" + }, + "0,0\n\n\n\n\n\n\n\n\ne0", + { + "c": "#cccccc" + }, + "0,1", + "0,2", + "0,3", + { + "x": 0.5, + "c": "#777777" + }, + "0,4\nESC", + { + "x": 0.5, + "c": "#cccccc" + }, + "0,5", + "0,6" + ], + [ + { + "y": 0.25, + "x": 7.25 + }, + "1,6", + { + "x": 9.7 + }, + "1,16" + ], + [ + { + "y": -0.9, + "x": 16.95 + }, + "1,15", + { + "x": 1, + "c": "#aaaaaa", + "w": 2 + }, + "1,17", + { + "x": 0.4 + }, + "1,18" + ], + [ + { + "y": -0.9, + "c": "#cccccc" + }, + "1,0", + "1,1", + "1,2", + "1,3", + { + "x": 1.25, + "c": "#aaaaaa" + }, + "1,4", + { + "c": "#cccccc" + }, + "1,5" + ], + [ + { + "y": -0.1, + "x": 17.85 + }, + "2,15", + "2,16", + { + "x": 0.25, + "c": "#777777", + "w": 1.25, + "h": 2, + "w2": 1.5, + "h2": 1, + "x2": -0.25 + }, + "2,17", + { + "x": 0.2, + "c": "#aaaaaa" + }, + "2,18" + ], + [ + { + "y": -0.9, + "c": "#cccccc" + }, + "2,0", + "2,1", + "2,2", + { + "h": 2 + }, + "2,3", + { + "x": 1, + "c": "#aaaaaa", + "w": 1.5 + }, + "2,4", + { + "c": "#cccccc" + }, + "2,5" + ], + [ + { + "y": -0.1, + "x": 17.1 + }, + "3,15", + "3,16", + { + "c": "#aaaaaa" + }, + "3,17", + { + "x": 1.65 + }, + "3,18" + ], + [ + { + "y": -0.9, + "c": "#cccccc" + }, + "3,0", + "3,1", + "3,2", + { + "x": 1.75, + "c": "#aaaaaa", + "w": 1.75 + }, + "3,4", + { + "c": "#cccccc" + }, + "3,5" + ], + [ + { + "y": -0.1, + "x": 17.75 + }, + "4,16", + { + "c": "#aaaaaa", + "w": 1.75 + }, + "4,17" + ], + [ + { + "y": -0.9, + "x": 5.75 + }, + "4,5" + ], + [ + { + "y": -1, + "c": "#cccccc" + }, + "4,0", + "4,1", + "4,2", + { + "h": 2 + }, + "4,3", + { + "x": 0.5, + "c": "#aaaaaa", + "w": 1.25 + }, + "4,4", + { + "x": 1, + "c": "#cccccc" + }, + "4,6" + ], + [ + { + "y": -0.75, + "x": 20.75, + "c": "#777777" + }, + "4,18" + ], + [ + { + "y": -0.25, + "c": "#cccccc", + "w": 2 + }, + "5,1", + "5,2", + { + "x": 1.5, + "c": "#aaaaaa", + "w": 1.25 + }, + "5,4", + { + "w": 1.25 + }, + "5,5" + ], + [ + { + "y": -0.75, + "x": 19.75, + "c": "#777777" + }, + "5,16", + "5,17", + "5,18" + ], + [ + { + "r": 6, + "y": -7.55, + "x": 8.25, + "c": "#cccccc" + }, + "0,7", + "0,8" + ], + [ + { + "y": -1, + "x": 10.5, + "c": "#aaaaaa" + }, + "0,9", + "0,10" + ], + [ + { + "y": 0.35, + "x": 8.6, + "c": "#cccccc" + }, + "1,7", + "1,8", + "1,9", + "1,10" + ], + [ + { + "x": 8.13 + }, + "2,6", + "2,7", + "2,8", + "2,9" + ], + [ + { + "x": 8.3 + }, + "3,6", + "3,7", + "3,8", + "3,9" + ], + [ + { + "x": 8.65 + }, + "4,7", + "4,8", + "4,9", + "4,10" + ], + [ + { + "x": 8.75, + "c": "#aaaaaa", + "w": 1.25 + }, + "5,6", + { + "w": 2.25 + }, + "5,7", + "5,10" + ], + [ + { + "r": -6, + "y": -3.75, + "x": 12.75 + }, + "0,11", + "0,12", + { + "x": 0.25, + "c": "#cccccc" + }, + "0,13", + "0,14" + ], + [ + { + "y": 0.4, + "x": 12.5 + }, + "1,11", + "1,12", + "1,13", + "1,14" + ], + [ + { + "x": 12.1 + }, + "2,10", + "2,11", + "2,12", + "2,13", + "2,14" + ], + [ + { + "x": 12.45 + }, + "3,11", + "3,12", + "3,13", + "3,14" + ], + [ + { + "x": 12 + }, + "4,11", + "4,12", + "4,13", + "4,14", + "4,15" + ], + [ + { + "x": 12.05, + "c": "#aaaaaa" + }, + "5,11", + { + "w": 2.75 + }, + "5,12", + "5,13" + ] + ] + } +} |