Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for Keychron Q12 #1729

Merged
merged 1 commit into from
Mar 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
340 changes: 340 additions & 0 deletions src/keychron/q12/ansi_encoder.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,340 @@
{
"name": "Keychron Q12",
"vendorId": "0x3434",
"productId": "0x01D1",
"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]
]
},
"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"
}
],
"matrix": {"rows": 6, "cols": 18},
"layouts": {
"keymap": [
[
"0,15\n\n\n\n\n\n\n\n\ne0",
"0,16",
"0,17",
"5,16",
{
"x": 0.25,
"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,
"c": "#aaaaaa"
},
"0,13",
{
"x": 0.25
},
"0,14"
],
[
{
"y": 0.25,
"c": "#cccccc"
},
"1,15",
"1,16",
"1,17",
"5,5",
{
"x": 0.25
},
"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",
{
"c": "#aaaaaa",
"w": 2
},
"1,13",
{
"x": 0.25
},
"1,14"
],
[
{
"c": "#cccccc"
},
"2,15",
"2,16",
"2,17",
{
"h": 2
},
"5,7",
{
"x": 0.25,
"c": "#aaaaaa",
"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"
],
[
{
"c": "#cccccc"
},
"3,15",
"3,16",
"3,17",
{
"x": 1.25,
"c": "#aaaaaa",
"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"
],
[
{
"c": "#cccccc"
},
"4,15",
"4,16",
"4,17",
{
"h": 2
},
"3,12",
{
"x": 0.25,
"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": 1.75
},
"4,13"
],
[
{
"y": -0.75,
"x": 18.5,
"c": "#777777"
},
"4,14"
],
[
{
"y": -0.25,
"c": "#cccccc",
"w": 2
},
"5,15",
"5,17",
{
"x": 1.25,
"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"
},
"5,9",
"5,10",
"5,11"
],
[
{
"y": -0.75,
"x": 17.5,
"c": "#777777"
},
"5,12",
"5,13",
"5,14"
]
]
}
}
Loading