diff --git a/src/keychron/q3/ansi.json b/src/keychron/q3/ansi.json new file mode 100755 index 0000000000..fbf9563131 --- /dev/null +++ b/src/keychron/q3/ansi.json @@ -0,0 +1,251 @@ +{ + "name": "Keychron Q3", + "vendorId": "0x3434", + "productId": "0x0120", + "lighting": { + "extends": "qmk_rgblight", + "underglowEffects": [ + ["00. None", 0], + ["01. SOLID_COLOR", 1], + ["02. BREATHING", 1], + ["03. BAND_SPIRAL_VAL", 1], + ["04. CYCLE_ALL", 1], + ["05. CYCLE_LEFT_RIGHT", 1], + ["06. CYCLE_UP_DOWN", 1], + ["07. RAINBOW_MOVING_CHEVRON", 1], + ["08. CYCLE_OUT_IN", 1], + ["09. CYCLE_OUT_IN_DUAL", 1], + ["10. CYCLE_PINWHEEL", 1], + ["11. CYCLE_SPIRAL", 1], + ["12. DUAL_BEACON", 1], + ["13. RAINBOW_BEACON", 1], + ["14. JELLYBEAN_RAINDROPS", 1], + ["15. PIXEL_RAIN", 1], + ["16. TYPING_HEATMAP", 1], + ["17. DIGITAL_RAIN", 1], + ["18. REACTIVE_SIMPLE", 1], + ["19. REACTIVE_MULTIWIDE", 1], + ["20. REACTIVE_MULTINEXUS", 1], + ["21. SPLASH", 1], + ["22. SOLID_SPLASH", 1] + ] + }, + "matrix": {"rows": 6, "cols": 16}, + "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"} + ], + "layouts": { + "keymap":[ + [ + { + "c": "#777777" + }, + "0,0\nESC", + { + "x": 1, + "c": "#cccccc" + }, + "0,1", + "0,2", + "0,3", + "0,4", + { + "x": 0.5 + }, + "0,5", + "0,6", + "0,7", + "0,8", + { + "x": 0.5 + }, + "0,9", + "0,10", + "0,11", + "0,12", + { + "c": "#aaaaaa", + "x": 0.25 + }, + "0,14", + "0,15", + "3,14" + ], + [ + { + "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", + "3,15" + ], + [ + { + "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", + { + "w": 1.5 + }, + "2,13", + { + "c": "#aaaaaa", + "x": 0.25 + }, + "2,14", + "2,15", + "3,12" + ], + [ + { + "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" + ], + [ + { + "w": 2.25, + "c": "#aaaaaa" + }, + "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", + { + "c": "#777777", + "x": 1.25, + "w": 1 + }, + "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", + { + "c": "#777777", + "w": 1, + "x": 0.25 + }, + "5,14", + "5,15", + "4,14" + ] + ] + } +} diff --git a/src/keychron/q3/ansi_encoder.json b/src/keychron/q3/ansi_encoder.json new file mode 100755 index 0000000000..d5301368c2 --- /dev/null +++ b/src/keychron/q3/ansi_encoder.json @@ -0,0 +1,252 @@ +{ + "name": "Keychron Q3", + "vendorId": "0x3434", + "productId": "0x0121", + "lighting": { + "extends": "qmk_rgblight", + "underglowEffects": [ + ["00. None", 0], + ["01. SOLID_COLOR", 1], + ["02. BREATHING", 1], + ["03. BAND_SPIRAL_VAL", 1], + ["04. CYCLE_ALL", 1], + ["05. CYCLE_LEFT_RIGHT", 1], + ["06. CYCLE_UP_DOWN", 1], + ["07. RAINBOW_MOVING_CHEVRON", 1], + ["08. CYCLE_OUT_IN", 1], + ["09. CYCLE_OUT_IN_DUAL", 1], + ["10. CYCLE_PINWHEEL", 1], + ["11. CYCLE_SPIRAL", 1], + ["12. DUAL_BEACON", 1], + ["13. RAINBOW_BEACON", 1], + ["14. JELLYBEAN_RAINDROPS", 1], + ["15. PIXEL_RAIN", 1], + ["16. TYPING_HEATMAP", 1], + ["17. DIGITAL_RAIN", 1], + ["18. REACTIVE_SIMPLE", 1], + ["19. REACTIVE_MULTIWIDE", 1], + ["20. REACTIVE_MULTINEXUS", 1], + ["21. SPLASH", 1], + ["22. SOLID_SPLASH", 1] + ] + }, + "matrix": {"rows": 6, "cols": 16}, + "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"} + ], + "layouts": { + "keymap":[ + [ + { + "c": "#777777" + }, + "0,0\nESC", + { + "x": 0.25, + "c": "#cccccc" + }, + "0,1", + "0,2", + "0,3", + "0,4", + { + "x": 0.25 + }, + "0,5", + "0,6", + "0,7", + "0,8", + { + "x": 0.25 + }, + "0,9", + "0,10", + "0,11", + "0,12", + { + "x": 0.25 + }, + "0,13\n\n\n\n\n\n\n\n\ne0", + { + "c": "#aaaaaa", + "x": 0.25 + }, + "0,14", + "0,15", + "3,14" + ], + [ + "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", + "3,15" + ], + [ + { + "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", + { + "w": 1.5 + }, + "2,13", + { + "c": "#aaaaaa", + "x": 0.25 + }, + "2,14", + "2,15", + "3,12" + ], + [ + { + "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" + ], + [ + { + "w": 2.25, + "c": "#aaaaaa" + }, + "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", + { + "c": "#777777", + "x": 1.25, + "w": 1 + }, + "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", + { + "c": "#777777", + "w": 1, + "x": 0.25 + }, + "5,14", + "5,15", + "4,14" + ] + ] + } +} diff --git a/src/keychron/q3/iso.json b/src/keychron/q3/iso.json new file mode 100755 index 0000000000..cc67b48199 --- /dev/null +++ b/src/keychron/q3/iso.json @@ -0,0 +1,258 @@ +{ + "name": "Keychron Q3", + "vendorId": "0x3434", + "productId": "0x0122", + "lighting": { + "extends": "qmk_rgblight", + "underglowEffects": [ + ["00. None", 0], + ["01. SOLID_COLOR", 1], + ["02. BREATHING", 1], + ["03. BAND_SPIRAL_VAL", 1], + ["04. CYCLE_ALL", 1], + ["05. CYCLE_LEFT_RIGHT", 1], + ["06. CYCLE_UP_DOWN", 1], + ["07. RAINBOW_MOVING_CHEVRON", 1], + ["08. CYCLE_OUT_IN", 1], + ["09. CYCLE_OUT_IN_DUAL", 1], + ["10. CYCLE_PINWHEEL", 1], + ["11. CYCLE_SPIRAL", 1], + ["12. DUAL_BEACON", 1], + ["13. RAINBOW_BEACON", 1], + ["14. JELLYBEAN_RAINDROPS", 1], + ["15. PIXEL_RAIN", 1], + ["16. TYPING_HEATMAP", 1], + ["17. DIGITAL_RAIN", 1], + ["18. REACTIVE_SIMPLE", 1], + ["19. REACTIVE_MULTIWIDE", 1], + ["20. REACTIVE_MULTINEXUS", 1], + ["21. SPLASH", 1], + ["22. SOLID_SPLASH", 1] + ] + }, + "matrix": {"rows": 6, "cols": 16}, + "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"} + ], + "layouts": { + "keymap":[ + [ + { + "c": "#777777" + }, + "0,0\nESC", + { + "x": 0.25, + "c": "#cccccc" + }, + "0,1", + "0,2", + "0,3", + "0,4", + { + "x": 0.25 + }, + "0,5", + "0,6", + "0,7", + "0,8", + { + "x": 0.25 + }, + "0,9", + "0,10", + "0,11", + "0,12", + { + "x": 0.25 + }, + "0,13", + { + "c": "#aaaaaa", + "x": 0.25 + }, + "0,14", + "0,15", + "3,14" + ], + [ + { + "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", + "3,15" + ], + [ + { + "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", + { + "x": 0.25, + "c": "#777777", + "w": 1.25, + "h": 2, + "w2": 1.5, + "h2": 1, + "x2": -0.25 + }, + "2,13", + { + "c": "#aaaaaa", + "x": 0.25 + }, + "2,14", + "2,15", + "3,12" + ], + [ + { + "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", + "3,13" + ], + [ + { + "w": 1.25, + "c": "#aaaaaa" + }, + "4,0", + "4,1", + { + "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", + { + "c": "#777777", + "x": 1.25, + "w": 1 + }, + "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", + { + "c": "#777777", + "w": 1, + "x": 0.25 + }, + "5,14", + "5,15", + "4,14" + ] + ] + } +} diff --git a/src/keychron/q3/iso_encoder.json b/src/keychron/q3/iso_encoder.json new file mode 100755 index 0000000000..17a659f2dc --- /dev/null +++ b/src/keychron/q3/iso_encoder.json @@ -0,0 +1,258 @@ +{ + "name": "Keychron Q3", + "vendorId": "0x3434", + "productId": "0x0123", + "lighting": { + "extends": "qmk_rgblight", + "underglowEffects": [ + ["00. None", 0], + ["01. SOLID_COLOR", 1], + ["02. BREATHING", 1], + ["03. BAND_SPIRAL_VAL", 1], + ["04. CYCLE_ALL", 1], + ["05. CYCLE_LEFT_RIGHT", 1], + ["06. CYCLE_UP_DOWN", 1], + ["07. RAINBOW_MOVING_CHEVRON", 1], + ["08. CYCLE_OUT_IN", 1], + ["09. CYCLE_OUT_IN_DUAL", 1], + ["10. CYCLE_PINWHEEL", 1], + ["11. CYCLE_SPIRAL", 1], + ["12. DUAL_BEACON", 1], + ["13. RAINBOW_BEACON", 1], + ["14. JELLYBEAN_RAINDROPS", 1], + ["15. PIXEL_RAIN", 1], + ["16. TYPING_HEATMAP", 1], + ["17. DIGITAL_RAIN", 1], + ["18. REACTIVE_SIMPLE", 1], + ["19. REACTIVE_MULTIWIDE", 1], + ["20. REACTIVE_MULTINEXUS", 1], + ["21. SPLASH", 1], + ["22. SOLID_SPLASH", 1] + ] + }, + "matrix": {"rows": 6, "cols": 16}, + "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"} + ], + "layouts": { + "keymap":[ + [ + { + "c": "#777777" + }, + "0,0\nESC", + { + "x": 0.25, + "c": "#cccccc" + }, + "0,1", + "0,2", + "0,3", + "0,4", + { + "x": 0.25 + }, + "0,5", + "0,6", + "0,7", + "0,8", + { + "x": 0.25 + }, + "0,9", + "0,10", + "0,11", + "0,12", + { + "x": 0.25 + }, + "0,13\n\n\n\n\n\n\n\n\ne0", + { + "c": "#aaaaaa", + "x": 0.25 + }, + "0,14", + "0,15", + "3,14" + ], + [ + { + "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", + "3,15" + ], + [ + { + "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", + { + "x": 0.25, + "c": "#777777", + "w": 1.25, + "h": 2, + "w2": 1.5, + "h2": 1, + "x2": -0.25 + }, + "2,13", + { + "c": "#aaaaaa", + "x": 0.25 + }, + "2,14", + "2,15", + "3,12" + ], + [ + { + "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", + "3,13" + ], + [ + { + "w": 1.25, + "c": "#aaaaaa" + }, + "4,0", + "4,1", + { + "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", + { + "c": "#777777", + "x": 1.25, + "w": 1 + }, + "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", + { + "c": "#777777", + "w": 1, + "x": 0.25 + }, + "5,14", + "5,15", + "4,14" + ] + ] + } +} diff --git a/src/keychron/q3/jis.json b/src/keychron/q3/jis.json new file mode 100755 index 0000000000..1a1337fa28 --- /dev/null +++ b/src/keychron/q3/jis.json @@ -0,0 +1,253 @@ +{ + "name": "Keychron Q3", + "vendorId": "0x3434", + "productId": "0x0124", + "lighting": { + "extends": "qmk_rgblight", + "underglowEffects": [ + ["00. None", 0], + ["01. SOLID_COLOR", 1], + ["02. BREATHING", 1], + ["03. BAND_SPIRAL_VAL", 1], + ["04. CYCLE_ALL", 1], + ["05. CYCLE_LEFT_RIGHT", 1], + ["06. CYCLE_UP_DOWN", 1], + ["07. RAINBOW_MOVING_CHEVRON", 1], + ["08. CYCLE_OUT_IN", 1], + ["09. CYCLE_OUT_IN_DUAL", 1], + ["10. CYCLE_PINWHEEL", 1], + ["11. CYCLE_SPIRAL", 1], + ["12. DUAL_BEACON", 1], + ["13. RAINBOW_BEACON", 1], + ["14. JELLYBEAN_RAINDROPS", 1], + ["15. PIXEL_RAIN", 1], + ["16. TYPING_HEATMAP", 1], + ["17. DIGITAL_RAIN", 1], + ["18. REACTIVE_SIMPLE", 1], + ["19. REACTIVE_MULTIWIDE", 1], + ["20. REACTIVE_MULTINEXUS", 1], + ["21. SPLASH", 1], + ["22. SOLID_SPLASH", 1] + ] + }, + "matrix": {"rows": 6, "cols": 16}, + "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"} + ], + "layouts": { + "keymap":[ + [ + { + "c": "#777777" + }, + "0,0\nESC", + { + "x": 1, + "c": "#cccccc" + }, + "0,1", + "0,2", + "0,3", + "0,4", + { + "x": 0.5 + }, + "0,5", + "0,6", + "0,7", + "0,8", + { + "x": 0.5 + }, + "0,9", + "0,10", + "0,11", + "0,12", + { + "c": "#aaaaaa", + "x": 0.25 + }, + "0,14", + "0,15", + "3,14" + ], + [ + { + "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", + "1,13", + { + "c": "#aaaaaa" + }, + "0,13", + { + "x": 0.25 + }, + "1,14", + "1,15", + "3,15" + ], + [ + { + "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", + { + "x": 0.25, + "c": "#777777", + "w": 1.25, + "h": 2, + "w2": 1.5, + "h2": 1, + "x2": -0.25 + }, + "2,13", + { + "c": "#aaaaaa", + "x": 0.25 + }, + "2,14", + "2,15", + "3,12" + ], + [ + { + "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", + "3,13" + ], + [ + { + "w": 2.25, + "c": "#aaaaaa" + }, + "4,0", + { + "c": "#cccccc" + }, + "4,2", + "4,3", + "4,4", + "4,5", + "4,6", + "4,7", + "4,8", + "4,9", + "4,10", + "4,11", + "4,12", + { + "c": "#aaaaaa", + "w": 1.75 + }, + "4,13", + { + "c": "#777777", + "x": 1.25, + "w": 1 + }, + "4,15" + ], + [ + { + "c": "#aaaaaa", + "w": 1.25 + }, + "5,0", + "5,1", + { + "w": 1.25 + }, + "5,2", + "5,3", + { + "c": "#cccccc", + "w": 4.5 + }, + "5,6", + { + "c": "#aaaaaa", + "w": 1.25 + }, + "5,9", + { + "w": 1.25 + }, + "5,10", + { + "w": 1.25 + }, + "5,11", + "5,12", + { + "w": 1.25 + }, + "5,13", + { + "c": "#777777", + "w": 1, + "x": 0.25 + }, + "5,14", + "5,15", + "4,14" + ] + ] + } +} diff --git a/src/keychron/q3/jis_encoder.json b/src/keychron/q3/jis_encoder.json new file mode 100755 index 0000000000..e4cfb02494 --- /dev/null +++ b/src/keychron/q3/jis_encoder.json @@ -0,0 +1,257 @@ +{ + "name": "Keychron Q3", + "vendorId": "0x3434", + "productId": "0x0125", + "lighting": { + "extends": "qmk_rgblight", + "underglowEffects": [ + ["00. None", 0], + ["01. SOLID_COLOR", 1], + ["02. BREATHING", 1], + ["03. BAND_SPIRAL_VAL", 1], + ["04. CYCLE_ALL", 1], + ["05. CYCLE_LEFT_RIGHT", 1], + ["06. CYCLE_UP_DOWN", 1], + ["07. RAINBOW_MOVING_CHEVRON", 1], + ["08. CYCLE_OUT_IN", 1], + ["09. CYCLE_OUT_IN_DUAL", 1], + ["10. CYCLE_PINWHEEL", 1], + ["11. CYCLE_SPIRAL", 1], + ["12. DUAL_BEACON", 1], + ["13. RAINBOW_BEACON", 1], + ["14. JELLYBEAN_RAINDROPS", 1], + ["15. PIXEL_RAIN", 1], + ["16. TYPING_HEATMAP", 1], + ["17. DIGITAL_RAIN", 1], + ["18. REACTIVE_SIMPLE", 1], + ["19. REACTIVE_MULTIWIDE", 1], + ["20. REACTIVE_MULTINEXUS", 1], + ["21. SPLASH", 1], + ["22. SOLID_SPLASH", 1] + ] + }, + "matrix": {"rows": 6, "cols": 16}, + "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"} + ], + "layouts": { + "keymap": [ + [ + { + "c": "#777777" + }, + "0,0\nESC", + { + "x": 0.25, + "c": "#cccccc" + }, + "0,1", + "0,2", + "0,3", + "0,4", + { + "x": 0.25 + }, + "0,5", + "0,6", + "0,7", + "0,8", + { + "x": 0.25 + }, + "0,9", + "0,10", + "0,11", + "0,12", + { + "x": 0.25 + }, + "0,13\n\n\n\n\n\n\n\n\ne0", + { + "c": "#aaaaaa", + "x": 0.25 + }, + "0,14", + "0,15", + "3,14" + ], + [ + { + "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", + "1,13", + { + "c": "#aaaaaa" + }, + "5,5", + { + "x": 0.25 + }, + "1,14", + "1,15", + "3,15" + ], + [ + { + "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", + { + "x": 0.25, + "c": "#777777", + "w": 1.25, + "h": 2, + "w2": 1.5, + "h2": 1, + "x2": -0.25 + }, + "2,13", + { + "c": "#aaaaaa", + "x": 0.25 + }, + "2,14", + "2,15", + "3,12" + ], + [ + { + "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", + "3,13" + ], + [ + { + "w": 2.25, + "c": "#aaaaaa" + }, + "4,0", + { + "c": "#cccccc" + }, + "4,2", + "4,3", + "4,4", + "4,5", + "4,6", + "4,7", + "4,8", + "4,9", + "4,10", + "4,11", + "4,12", + { + "c": "#aaaaaa", + "w": 1.75 + }, + "4,13", + { + "c": "#777777", + "x": 1.25, + "w": 1 + }, + "4,15" + ], + [ + { + "c": "#aaaaaa", + "w": 1.25 + }, + "5,0", + "5,1", + { + "w": 1.25 + }, + "5,2", + "5,3", + { + "c": "#cccccc", + "w": 4.5 + }, + "5,6", + { + "c": "#aaaaaa", + "w": 1.25 + }, + "5,9", + { + "w": 1.25 + }, + "5,10", + { + "w": 1.25 + }, + "5,11", + "5,12", + { + "w": 1.25 + }, + "5,13", + { + "c": "#777777", + "w": 1, + "x": 0.25 + }, + "5,14", + "5,15", + "4,14" + ] + ] + } +}