From 143953081ccc47029a3e48f71ff4ebc983348389 Mon Sep 17 00:00:00 2001 From: lalalademaxiya1 <66767061+lalalademaxiya1@users.noreply.github.com> Date: Tue, 4 Jan 2022 14:23:32 +0800 Subject: [PATCH 1/4] Create rev_0101.json --- src/keychron/q1/rev_0101.json | 226 ++++++++++++++++++++++++++++++++++ 1 file changed, 226 insertions(+) create mode 100644 src/keychron/q1/rev_0101.json diff --git a/src/keychron/q1/rev_0101.json b/src/keychron/q1/rev_0101.json new file mode 100644 index 0000000000..e09a8c1c82 --- /dev/null +++ b/src/keychron/q1/rev_0101.json @@ -0,0 +1,226 @@ +{ + "name": "Keychron Q1", + "vendorId": "0x3434", + "productId": "0x0101", + "lighting": "qmk_rgblight", + "matrix": {"rows": 6, "cols": 15}, + "customKeycodes": [ + {"name": "KC_MISSION_CONTROL", "title": "KC_MISSION_CONTROL", "shortName": "MCTL"}, + {"name": "KC_LAUNCHPAD", "title": "KC_LAUNCHPAD", "shortName": "LPAD"}, + {"name": "KC_TASK", "title": "KC_TASK", "shortName": "TASK"}, + {"name": "KC_FLXP", "title": "KC_FLXP", "shortName": "FILE"} + ], + "layouts": { + "keymap": [ + [ + { + "c": "#777777" + }, + "0,0\nESC", + { + "x": 0.25, + "c": "#cccccc" + }, + "0,2", + "0,3", + "0,4", + "0,5", + { + "x": 0.25 + }, + "0,6", + "0,7", + "0,8", + "0,9", + { + "x": 0.25 + }, + "0,10", + "0,11", + "0,12", + "0,13", + { + "x": 0.25, + "c": "#aaaaaa" + }, + "4,14", + { + "x": 0.25, + "w": 0.75 + }, + "0,14", + { + "h": 0.5 + }, + "5,7", + { + "x": -1, + "y": 0.5, + "h": 0.5 + }, + "5,8" + ], + [ + { + "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" + ], + [ + { + "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", + { + "x": 0.25, + "c": "#aaaaaa" + }, + "2,14" + ], + [ + { + "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", + { + "x": 0.25, + "c": "#aaaaaa" + }, + "3,14" + ], + [ + { + "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": 1.75 + }, + "4,13" + ], + [ + { + "y": -0.75, + "x": 14.25, + "c": "#777777" + }, + "3,12" + ], + [ + { + "y": -0.25, + "c": "#aaaaaa", + "w": 1.25 + }, + "5,0", + { + "w": 1.25 + }, + "5,1", + { + "w": 1.25 + }, + "5,2", + { + "c": "#cccccc", + "a": 7, + "w": 6.25 + }, + "5,6", + { + "c": "#aaaaaa", + "a": 4 + }, + "5,10", + "5,11", + "5,12" + ], + [ + { + "y": -0.75, + "x": 13.25, + "c": "#777777" + }, + "5,13", + "4,12", + "5,14" + ] +] + } +} \ No newline at end of file From e3a9529558d06c2a3ac150ddcbdf2df7c4533653 Mon Sep 17 00:00:00 2001 From: lalalademaxiya1 <66767061+lalalademaxiya1@users.noreply.github.com> Date: Wed, 5 Jan 2022 10:06:33 +0800 Subject: [PATCH 2/4] Update rev_0101.json --- src/keychron/q1/rev_0101.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/keychron/q1/rev_0101.json b/src/keychron/q1/rev_0101.json index e09a8c1c82..fe6b999ce5 100644 --- a/src/keychron/q1/rev_0101.json +++ b/src/keychron/q1/rev_0101.json @@ -5,10 +5,8 @@ "lighting": "qmk_rgblight", "matrix": {"rows": 6, "cols": 15}, "customKeycodes": [ - {"name": "KC_MISSION_CONTROL", "title": "KC_MISSION_CONTROL", "shortName": "MCTL"}, - {"name": "KC_LAUNCHPAD", "title": "KC_LAUNCHPAD", "shortName": "LPAD"}, - {"name": "KC_TASK", "title": "KC_TASK", "shortName": "TASK"}, - {"name": "KC_FLXP", "title": "KC_FLXP", "shortName": "FILE"} + {"name": "Mission Control", "title": "Mission Control in macOS", "shortName": "Mission Control"}, + {"name": "Launch Pad", "title": "Launch Pad in macOS", "shortName": "Launch Pad"} ], "layouts": { "keymap": [ From 51251f29772892c7c1dbe946cf6415f3fabdc5d5 Mon Sep 17 00:00:00 2001 From: lalalademaxiya1 <2831039915@qq.com> Date: Tue, 18 Jan 2022 16:12:51 +0800 Subject: [PATCH 3/4] Create rev_0103.json --- src/keychron/q1/rev_0103.json | 227 ++++++++++++++++++++++++++++++++++ 1 file changed, 227 insertions(+) create mode 100644 src/keychron/q1/rev_0103.json diff --git a/src/keychron/q1/rev_0103.json b/src/keychron/q1/rev_0103.json new file mode 100644 index 0000000000..2357c00dce --- /dev/null +++ b/src/keychron/q1/rev_0103.json @@ -0,0 +1,227 @@ +{ + "name": "Keychron Q1", + "vendorId": "0x3434", + "productId": "0x0103", + "lighting": "qmk_rgblight", + "matrix": {"rows": 6, "cols": 15}, + "customKeycodes": [ + {"name": "Mission Control", "title": "Mission Control in macOS", "shortName": "Mission Control"}, + {"name": "Launch Pad", "title": "Launch Pad in macOS", "shortName": "Launch Pad"} + ], + "layouts": { + "keymap":[ + [ + { + "c": "#777777" + }, + "0,0\nESC", + { + "x": 0.25, + "c": "#cccccc" + }, + "0,2", + "0,3", + "0,4", + "0,5", + { + "x": 0.25 + }, + "0,6", + "0,7", + "0,8", + "0,9", + { + "x": 0.25 + }, + "0,10", + "0,11", + "0,12", + "0,13", + { + "x": 0.25, + "c": "#aaaaaa" + }, + "4,14", + { + "x": 0.25, + "w": 0.75 + }, + "0,14", + { + "h": 0.5 + }, + "5,7", + { + "x": -1, + "y": 0.5, + "h": 0.5 + }, + "5,8" + ], + [ + { + "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" + ], + [ + { + "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", + { + "x": 0.25, + "c": "#cccccc" + }, + "2,14" + ], + [ + { + "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", + { + "x": 1.5, + "c": "#aaaaaa" + }, + "3,14" + ], + [ + { + "w": 1.25 + }, + "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": 1.75 + }, + "4,13" + ], + [ + { + "y": -0.75, + "x": 14.25, + "c": "#777777" + }, + "3,12" + ], + [ + { + "y": -0.25, + "c": "#aaaaaa", + "w": 1.25 + }, + "5,0", + { + "w": 1.25 + }, + "5,1", + { + "w": 1.25 + }, + "5,2", + { + "c": "#cccccc", + "a": 7, + "w": 6.25 + }, + "5,6", + { + "c": "#aaaaaa", + "a": 4 + }, + "5,10", + "5,11", + "5,12" + ], + [ + { + "y": -0.75, + "x": 13.25, + "c": "#777777" + }, + "5,13", + "4,12", + "5,14" + ] +] + } +} From 8d3fa7f41ff55f5679734e9cabf8475aa91c575f Mon Sep 17 00:00:00 2001 From: lalalademaxiya1 <2831039915@qq.com> Date: Mon, 24 Jan 2022 11:18:07 +0800 Subject: [PATCH 4/4] Add via file for q2, and update via file of q1. --- src/keychron/q1/rev_0100.json | 26 +++- src/keychron/q1/rev_0101.json | 24 +++- src/keychron/q1/rev_0102.json | 26 +++- src/keychron/q1/rev_0103.json | 227 ---------------------------------- src/keychron/q2/rev_0110.json | 199 +++++++++++++++++++++++++++++ src/keychron/q2/rev_0111.json | 210 +++++++++++++++++++++++++++++++ src/keychron/q2/rev_0112.json | 202 ++++++++++++++++++++++++++++++ src/keychron/q2/rev_0113.json | 213 +++++++++++++++++++++++++++++++ 8 files changed, 896 insertions(+), 231 deletions(-) delete mode 100644 src/keychron/q1/rev_0103.json create mode 100644 src/keychron/q2/rev_0110.json create mode 100644 src/keychron/q2/rev_0111.json create mode 100644 src/keychron/q2/rev_0112.json create mode 100644 src/keychron/q2/rev_0113.json diff --git a/src/keychron/q1/rev_0100.json b/src/keychron/q1/rev_0100.json index 3d12f801d6..37fc4f03eb 100644 --- a/src/keychron/q1/rev_0100.json +++ b/src/keychron/q1/rev_0100.json @@ -2,8 +2,32 @@ "name": "Keychron Q1", "vendorId": "0x3434", "productId": "0x0100", - "lighting": "none", + "lighting": { + "extends": "qmk_rgblight", + "underglowEffects": [ + ["None", 0], + ["SOLID_COLOR", 1], + ["BREATHING", 1], + ["CYCLE_ALL", 1], + ["CYCLE_LEFT_RIGHT", 1], + ["CYCLE_UP_DOWN", 1], + ["RAINBOW_MOVING_CHEVRON", 1], + ["CYCLE_OUT_IN", 1], + ["CYCLE_OUT_IN_DUAL", 1], + ["CYCLE_PINWHEEL", 1], + ["CYCKE_SPIRAL", 1], + ["DUAL_BEACON", 1], + ["RAINBOW_BEACON", 1], + ["RAINDROPS", 1] + ] + }, "matrix": {"rows": 6, "cols": 15}, + "customKeycodes": [ + {"name": "Mission Control", "title": "Mission Control in macOS", "shortName": "Mission Control"}, + {"name": "Launch Pad", "title": "Launch Pad in macOS", "shortName": "Launch Pad"}, + {"name": "Task View", "title": "Task View in windows", "shortName": "Task View"}, + {"name": "File Explorer", "title": "File Explorer in windows", "shortName": "File Explorer"} + ], "layouts": { "keymap":[ [ diff --git a/src/keychron/q1/rev_0101.json b/src/keychron/q1/rev_0101.json index fe6b999ce5..3cbafe9192 100644 --- a/src/keychron/q1/rev_0101.json +++ b/src/keychron/q1/rev_0101.json @@ -2,11 +2,31 @@ "name": "Keychron Q1", "vendorId": "0x3434", "productId": "0x0101", - "lighting": "qmk_rgblight", + "lighting": { + "extends": "qmk_rgblight", + "underglowEffects": [ + ["None", 0], + ["SOLID_COLOR", 1], + ["BREATHING", 1], + ["CYCLE_ALL", 1], + ["CYCLE_LEFT_RIGHT", 1], + ["CYCLE_UP_DOWN", 1], + ["RAINBOW_MOVING_CHEVRON", 1], + ["CYCLE_OUT_IN", 1], + ["CYCLE_OUT_IN_DUAL", 1], + ["CYCLE_PINWHEEL", 1], + ["CYCKE_SPIRAL", 1], + ["DUAL_BEACON", 1], + ["RAINBOW_BEACON", 1], + ["RAINDROPS", 1] + ] + }, "matrix": {"rows": 6, "cols": 15}, "customKeycodes": [ {"name": "Mission Control", "title": "Mission Control in macOS", "shortName": "Mission Control"}, - {"name": "Launch Pad", "title": "Launch Pad in macOS", "shortName": "Launch Pad"} + {"name": "Launch Pad", "title": "Launch Pad in macOS", "shortName": "Launch Pad"}, + {"name": "Task View", "title": "Task View in windows", "shortName": "Task View"}, + {"name": "File Explorer", "title": "File Explorer in windows", "shortName": "File Explorer"} ], "layouts": { "keymap": [ diff --git a/src/keychron/q1/rev_0102.json b/src/keychron/q1/rev_0102.json index 2a95cdc36d..57b00b0b92 100644 --- a/src/keychron/q1/rev_0102.json +++ b/src/keychron/q1/rev_0102.json @@ -2,8 +2,32 @@ "name": "Keychron Q1", "vendorId": "0x3434", "productId": "0x0102", - "lighting": "none", + "lighting": { + "extends": "qmk_rgblight", + "underglowEffects": [ + ["None", 0], + ["SOLID_COLOR", 1], + ["BREATHING", 1], + ["CYCLE_ALL", 1], + ["CYCLE_LEFT_RIGHT", 1], + ["CYCLE_UP_DOWN", 1], + ["RAINBOW_MOVING_CHEVRON", 1], + ["CYCLE_OUT_IN", 1], + ["CYCLE_OUT_IN_DUAL", 1], + ["CYCLE_PINWHEEL", 1], + ["CYCKE_SPIRAL", 1], + ["DUAL_BEACON", 1], + ["RAINBOW_BEACON", 1], + ["RAINDROPS", 1] + ] + }, "matrix": {"rows": 6, "cols": 15}, + "customKeycodes": [ + {"name": "Mission Control", "title": "Mission Control in macOS", "shortName": "Mission Control"}, + {"name": "Launch Pad", "title": "Launch Pad in macOS", "shortName": "Launch Pad"}, + {"name": "Task View", "title": "Task View in windows", "shortName": "Task View"}, + {"name": "File Explorer", "title": "File Explorer in windows", "shortName": "File Explorer"} + ], "layouts": { "keymap":[ [ diff --git a/src/keychron/q1/rev_0103.json b/src/keychron/q1/rev_0103.json deleted file mode 100644 index 2357c00dce..0000000000 --- a/src/keychron/q1/rev_0103.json +++ /dev/null @@ -1,227 +0,0 @@ -{ - "name": "Keychron Q1", - "vendorId": "0x3434", - "productId": "0x0103", - "lighting": "qmk_rgblight", - "matrix": {"rows": 6, "cols": 15}, - "customKeycodes": [ - {"name": "Mission Control", "title": "Mission Control in macOS", "shortName": "Mission Control"}, - {"name": "Launch Pad", "title": "Launch Pad in macOS", "shortName": "Launch Pad"} - ], - "layouts": { - "keymap":[ - [ - { - "c": "#777777" - }, - "0,0\nESC", - { - "x": 0.25, - "c": "#cccccc" - }, - "0,2", - "0,3", - "0,4", - "0,5", - { - "x": 0.25 - }, - "0,6", - "0,7", - "0,8", - "0,9", - { - "x": 0.25 - }, - "0,10", - "0,11", - "0,12", - "0,13", - { - "x": 0.25, - "c": "#aaaaaa" - }, - "4,14", - { - "x": 0.25, - "w": 0.75 - }, - "0,14", - { - "h": 0.5 - }, - "5,7", - { - "x": -1, - "y": 0.5, - "h": 0.5 - }, - "5,8" - ], - [ - { - "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" - ], - [ - { - "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", - { - "x": 0.25, - "c": "#cccccc" - }, - "2,14" - ], - [ - { - "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", - { - "x": 1.5, - "c": "#aaaaaa" - }, - "3,14" - ], - [ - { - "w": 1.25 - }, - "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": 1.75 - }, - "4,13" - ], - [ - { - "y": -0.75, - "x": 14.25, - "c": "#777777" - }, - "3,12" - ], - [ - { - "y": -0.25, - "c": "#aaaaaa", - "w": 1.25 - }, - "5,0", - { - "w": 1.25 - }, - "5,1", - { - "w": 1.25 - }, - "5,2", - { - "c": "#cccccc", - "a": 7, - "w": 6.25 - }, - "5,6", - { - "c": "#aaaaaa", - "a": 4 - }, - "5,10", - "5,11", - "5,12" - ], - [ - { - "y": -0.75, - "x": 13.25, - "c": "#777777" - }, - "5,13", - "4,12", - "5,14" - ] -] - } -} diff --git a/src/keychron/q2/rev_0110.json b/src/keychron/q2/rev_0110.json new file mode 100644 index 0000000000..96c9b7f4e7 --- /dev/null +++ b/src/keychron/q2/rev_0110.json @@ -0,0 +1,199 @@ +{ + "name": "Keychron Q2", + "vendorId": "0x3434", + "productId": "0x0110", + "lighting": { + "extends": "qmk_rgblight", + "underglowEffects": [ + ["None", 0], + ["SOLID_COLOR", 1], + ["BREATHING", 1], + ["CYCLE_ALL", 1], + ["CYCLE_LEFT_RIGHT", 1], + ["CYCLE_UP_DOWN", 1], + ["RAINBOW_MOVING_CHEVRON", 1], + ["CYCLE_OUT_IN", 1], + ["CYCLE_OUT_IN_DUAL", 1], + ["CYCLE_PINWHEEL", 1], + ["CYCKE_SPIRAL", 1], + ["DUAL_BEACON", 1], + ["RAINBOW_BEACON", 1], + ["RAINDROPS", 1] + ] + }, + "matrix": {"rows": 5, "cols": 15}, + "customKeycodes": [ + {"name": "Mission Control", "title": "Mission Control in macOS", "shortName": "Mission Control"}, + {"name": "Launch Pad", "title": "Launch Pad in macOS", "shortName": "Launch Pad"}, + {"name": "Task View", "title": "Task View in windows", "shortName": "Task View"}, + {"name": "File Explorer", "title": "File Explorer in windows", "shortName": "File Explorer"} + ], + "layouts": { + "keymap":[ + [ + { + "c": "#777777", + "y": 0.25 + }, + "0,0\nESC", + { + "c": "#cccccc" + }, + "0,1", + "0,2", + "0,3", + "0,4", + "0,5", + "0,6", + "0,7", + "0,8", + "0,9", + "0,10", + "0,11", + "0,12", + { + "c": "#aaaaaa", + "w": 2 + }, + "0,13", + { + "x": 0.25, + "y": -0.25 + }, + "0,14" + ], + [ + { + "y": 0.25, + "w": 1.5 + }, + "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", + { + "w": 1.5 + }, + "1,13", + { + "x": 0.25, + "c": "#aaaaaa" + }, + "1,14" + ], + [ + { + "w": 1.75 + }, + "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", + { + "c": "#777777", + "w": 2.25 + }, + "2,13", + { + "x": 0.25, + "c": "#aaaaaa" + }, + "2,14" + ], + [ + { + "w": 2.25 + }, + "3,0", + { + "c": "#cccccc" + }, + "3,2", + "3,3", + "3,4", + "3,5", + "3,6", + "3,7", + "3,8", + "3,9", + "3,10", + "3,11", + { + "c": "#aaaaaa", + "w": 1.75 + }, + "3,13" + ], + [ + { + "y": -0.75, + "x": 14.25, + "c": "#777777" + }, + "3,14" + ], + [ + { + "y": -0.25, + "c": "#aaaaaa", + "w": 1.24 + }, + "4,0", + { + "w": 1.25 + }, + "4,1", + { + "w": 1.25 + }, + "4,2", + { + "c": "#cccccc", + "a": 7, + "w": 6.25 + }, + "4,6", + { + "c": "#aaaaaa", + "a": 4 + }, + "4,10", + "4,11", + "4,12" + ], + [ + { + "y": -0.75, + "x": 13.25, + "c": "#777777" + }, + "4,13", + "2,12", + "4,14" + ] + ] + } +} diff --git a/src/keychron/q2/rev_0111.json b/src/keychron/q2/rev_0111.json new file mode 100644 index 0000000000..a80b8d8131 --- /dev/null +++ b/src/keychron/q2/rev_0111.json @@ -0,0 +1,210 @@ +{ + "name": "Keychron Q2", + "vendorId": "0x3434", + "productId": "0x0111", + "lighting": { + "extends": "qmk_rgblight", + "underglowEffects": [ + ["None", 0], + ["SOLID_COLOR", 1], + ["BREATHING", 1], + ["CYCLE_ALL", 1], + ["CYCLE_LEFT_RIGHT", 1], + ["CYCLE_UP_DOWN", 1], + ["RAINBOW_MOVING_CHEVRON", 1], + ["CYCLE_OUT_IN", 1], + ["CYCLE_OUT_IN_DUAL", 1], + ["CYCLE_PINWHEEL", 1], + ["CYCKE_SPIRAL", 1], + ["DUAL_BEACON", 1], + ["RAINBOW_BEACON", 1], + ["RAINDROPS", 1] + ] + }, + "matrix": {"rows": 5, "cols": 15}, + "customKeycodes": [ + {"name": "Mission Control", "title": "Mission Control in macOS", "shortName": "Mission Control"}, + {"name": "Launch Pad", "title": "Launch Pad in macOS", "shortName": "Launch Pad"}, + {"name": "Task View", "title": "Task View in windows", "shortName": "Task View"}, + {"name": "File Explorer", "title": "File Explorer in windows", "shortName": "File Explorer"} + ], + "layouts": { + "keymap":[ + [ + { + "c": "#777777", + "y": 0.25 + }, + "0,0\nESC", + { + "c": "#cccccc" + }, + "0,1", + "0,2", + "0,3", + "0,4", + "0,5", + "0,6", + "0,7", + "0,8", + "0,9", + "0,10", + "0,11", + "0,12", + { + "c": "#aaaaaa", + "w": 2 + }, + "0,13", + { + "x": 0.25, + "y": -0.25, + "w": 0.75 + }, + "0,14", + { + "h": 0.5 + }, + "4,7", + { + "x": -1, + "y": 0.5, + "h": 0.5 + }, + "4,8" + ], + [ + { + "y": -0.25, + "w": 1.5 + }, + "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", + { + "w": 1.5 + }, + "1,13", + { + "x": 0.25, + "c": "#aaaaaa" + }, + "1,14" + ], + [ + { + "w": 1.75 + }, + "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", + { + "c": "#777777", + "w": 2.25 + }, + "2,13", + { + "x": 0.25, + "c": "#aaaaaa" + }, + "2,14" + ], + [ + { + "w": 2.25 + }, + "3,0", + { + "c": "#cccccc" + }, + "3,2", + "3,3", + "3,4", + "3,5", + "3,6", + "3,7", + "3,8", + "3,9", + "3,10", + "3,11", + { + "c": "#aaaaaa", + "w": 1.75 + }, + "3,13" + ], + [ + { + "y": -0.75, + "x": 14.25, + "c": "#777777" + }, + "3,14" + ], + [ + { + "y": -0.25, + "c": "#aaaaaa", + "w": 1.24 + }, + "4,0", + { + "w": 1.25 + }, + "4,1", + { + "w": 1.25 + }, + "4,2", + { + "c": "#cccccc", + "a": 7, + "w": 6.25 + }, + "4,6", + { + "c": "#aaaaaa", + "a": 4 + }, + "4,10", + "4,11", + "4,12" + ], + [ + { + "y": -0.75, + "x": 13.25, + "c": "#777777" + }, + "4,13", + "2,12", + "4,14" + ] + ] + } +} diff --git a/src/keychron/q2/rev_0112.json b/src/keychron/q2/rev_0112.json new file mode 100644 index 0000000000..1eac38873e --- /dev/null +++ b/src/keychron/q2/rev_0112.json @@ -0,0 +1,202 @@ +{ + "name": "Keychron Q2", + "vendorId": "0x3434", + "productId": "0x0112", + "lighting": { + "extends": "qmk_rgblight", + "underglowEffects": [ + ["None", 0], + ["SOLID_COLOR", 1], + ["BREATHING", 1], + ["CYCLE_ALL", 1], + ["CYCLE_LEFT_RIGHT", 1], + ["CYCLE_UP_DOWN", 1], + ["RAINBOW_MOVING_CHEVRON", 1], + ["CYCLE_OUT_IN", 1], + ["CYCLE_OUT_IN_DUAL", 1], + ["CYCLE_PINWHEEL", 1], + ["CYCKE_SPIRAL", 1], + ["DUAL_BEACON", 1], + ["RAINBOW_BEACON", 1], + ["RAINDROPS", 1] + ] + }, + "matrix": {"rows": 5, "cols": 15}, + "customKeycodes": [ + {"name": "Mission Control", "title": "Mission Control in macOS", "shortName": "Mission Control"}, + {"name": "Launch Pad", "title": "Launch Pad in macOS", "shortName": "Launch Pad"}, + {"name": "Task View", "title": "Task View in windows", "shortName": "Task View"}, + {"name": "File Explorer", "title": "File Explorer in windows", "shortName": "File Explorer"} + ], + "layouts": { + "keymap":[ + [ + { + "c": "#777777", + "y": 0.25 + }, + "0,0\nESC", + { + "c": "#cccccc" + }, + "0,1", + "0,2", + "0,3", + "0,4", + "0,5", + "0,6", + "0,7", + "0,8", + "0,9", + "0,10", + "0,11", + "0,12", + { + "c": "#aaaaaa", + "w": 2 + }, + "0,13", + { + "x": 0.25, + "y": -0.25 + }, + "0,14" + ], + [ + { + "y": 0.25, + "w": 1.5 + }, + "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", + { + "x": 0.25, + "c": "#777777", + "w": 1.25, + "h": 2, + "w2": 1.5, + "h2": 1, + "x2": -0.25 + }, + "1,13", + { + "x": 0.25, + "c": "#aaaaaa" + }, + "1,14" + ], + [ + { + "w": 1.75 + }, + "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,13", + { + "x": 1.5, + "c": "#aaaaaa" + }, + "2,14" + ], + [ + { + "w": 1.25 + }, + "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": "#aaaaaa", + "w": 1.75 + }, + "3,13" + ], + [ + { + "y": -0.75, + "x": 14.25, + "c": "#777777" + }, + "3,14" + ], + [ + { + "y": -0.25, + "c": "#aaaaaa", + "w": 1.25 + }, + "4,0", + { + "w": 1.25 + }, + "4,1", + { + "w": 1.25 + }, + "4,2", + { + "c": "#cccccc", + "a": 7, + "w": 6.25 + }, + "4,6", + { + "c": "#aaaaaa", + "a": 4 + }, + "4,10", + "4,11", + "4,12" + ], + [ + { + "y": -0.75, + "x": 13.25, + "c": "#777777" + }, + "4,13", + "2,12", + "4,14" + ] + ] + } +} diff --git a/src/keychron/q2/rev_0113.json b/src/keychron/q2/rev_0113.json new file mode 100644 index 0000000000..a02b408dad --- /dev/null +++ b/src/keychron/q2/rev_0113.json @@ -0,0 +1,213 @@ +{ + "name": "Keychron Q2", + "vendorId": "0x3434", + "productId": "0x0113", + "lighting": { + "extends": "qmk_rgblight", + "underglowEffects": [ + ["None", 0], + ["SOLID_COLOR", 1], + ["BREATHING", 1], + ["CYCLE_ALL", 1], + ["CYCLE_LEFT_RIGHT", 1], + ["CYCLE_UP_DOWN", 1], + ["RAINBOW_MOVING_CHEVRON", 1], + ["CYCLE_OUT_IN", 1], + ["CYCLE_OUT_IN_DUAL", 1], + ["CYCLE_PINWHEEL", 1], + ["CYCKE_SPIRAL", 1], + ["DUAL_BEACON", 1], + ["RAINBOW_BEACON", 1], + ["RAINDROPS", 1] + ] + }, + "matrix": {"rows": 5, "cols": 15}, + "customKeycodes": [ + {"name": "Mission Control", "title": "Mission Control in macOS", "shortName": "Mission Control"}, + {"name": "Launch Pad", "title": "Launch Pad in macOS", "shortName": "Launch Pad"}, + {"name": "Task View", "title": "Task View in windows", "shortName": "Task View"}, + {"name": "File Explorer", "title": "File Explorer in windows", "shortName": "File Explorer"} + ], + "layouts": { + "keymap":[ + [ + { + "c": "#777777", + "y": 0.25 + }, + "0,0\nESC", + { + "c": "#cccccc" + }, + "0,1", + "0,2", + "0,3", + "0,4", + "0,5", + "0,6", + "0,7", + "0,8", + "0,9", + "0,10", + "0,11", + "0,12", + { + "c": "#aaaaaa", + "w": 2 + }, + "0,13", + { + "x": 0.25, + "y": -0.25, + "w": 0.75 + }, + "0,14", + { + "h": 0.5 + }, + "4,7", + { + "x": -1, + "y": 0.5, + "h": 0.5 + }, + "4,8" + ], + [ + { + "y": -0.25, + "w": 1.5 + }, + "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", + { + "x": 0.25, + "c": "#777777", + "w": 1.25, + "h": 2, + "w2": 1.5, + "h2": 1, + "x2": -0.25 + }, + "1,13", + { + "x": 0.25, + "c": "#aaaaaa" + }, + "1,14" + ], + [ + { + "w": 1.75 + }, + "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,13", + { + "x": 1.5, + "c": "#aaaaaa" + }, + "2,14" + ], + [ + { + "w": 1.25 + }, + "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": "#aaaaaa", + "w": 1.75 + }, + "3,13" + ], + [ + { + "y": -0.75, + "x": 14.25, + "c": "#777777" + }, + "3,14" + ], + [ + { + "y": -0.25, + "c": "#aaaaaa", + "w": 1.24 + }, + "4,0", + { + "w": 1.25 + }, + "4,1", + { + "w": 1.25 + }, + "4,2", + { + "c": "#cccccc", + "a": 7, + "w": 6.25 + }, + "4,6", + { + "c": "#aaaaaa", + "a": 4 + }, + "4,10", + "4,11", + "4,12" + ], + [ + { + "y": -0.75, + "x": 13.25, + "c": "#777777" + }, + "4,13", + "2,12", + "4,14" + ] + ] + } +}