Skip to content

Commit

Permalink
Merge pull request #4 from lalalademaxiya1/master
Browse files Browse the repository at this point in the history
Add VIA JSONs for Keychron q8
  • Loading branch information
KeychronMacro authored Dec 5, 2022
2 parents 8ce4a22 + 0e9ece2 commit 0d62890
Show file tree
Hide file tree
Showing 4 changed files with 1,250 additions and 0 deletions.
311 changes: 311 additions & 0 deletions src/keychron/q8/ansi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,311 @@
{
"name": "Keychron Q8",
"vendorId": "0x3434",
"productId": "0x0180",
"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": 5, "cols": 15},
"layouts": {
"keymap": [
[
{
"x": 2.75
},
"0,2",
{
"x": 8.85
},
"0,11",
{
"x": 3.5,
"c": "#aaaaaa"
},
"0,14"
],
[
{
"y": -0.85,
"x": 0.75,
"c": "#777777"
},
"0,0\nESC",
{
"c": "#cccccc"
},
"0,1"
],
[
{
"y": -0.85,
"x": 13.6
},
"0,12",
{
"c": "#aaaaaa",
"w": 2
},
"0,13"
],
[
{
"x": 0.5,
"w": 1.5
},
"1,0",
{
"c": "#cccccc"
},
"1,1",
{
"x": 10.3
},
"1,11",
"1,12",
{
"w": 1.5
},
"1,13"
],
[
{
"y": -0.9,
"x": 17.3,
"c": "#aaaaaa"
},
"1,14"
],
[
{
"y": -0.1,
"x": 0.25,
"w": 1.75
},
"2,0",
{
"c": "#cccccc"
},
"2,1",
{
"x": 9.75
},
"2,11",
"2,12",
{
"c": "#777777",
"w": 2.25
},
"2,13"
],
[
{
"y": -0.9,
"x": 17.5,
"c": "#aaaaaa"
},
"2,14"
],
[
{
"y": -0.1,
"w": 2.25
},
"3,0",
{
"c": "#cccccc"
},
"3,2",
{
"x": 10.15
},
"3,12",
{
"c": "#aaaaaa",
"w": 1.75
},
"3,13"
],
[
{
"y": -0.75,
"x": 16.4,
"c": "#777777"
},
"3,14"
],
[
{
"y": -0.25,
"c": "#aaaaaa",
"w": 1.25
},
"4,0",
{
"w": 1.25
},
"4,1"
],
[
{
"y": -0.75,
"x": 15.4,
"c": "#777777"
},
"4,12",
"4,13",
"4,14"
],
[
{
"r": 6,
"y": -5.7,
"x": 3.85,
"c": "#cccccc"
},
"0,3",
"0,4",
"0,5",
"0,6"
],
[
{
"x": 3.35
},
"1,2",
"1,3",
"1,4",
"1,5"
],
[
{
"x": 3.55
},
"2,2",
"2,3",
"2,4",
"2,5"
],
[
{
"x": 3.9
},
"3,3",
"3,4",
"3,5",
"3,6"
],
[
{
"x": 4,
"c": "#aaaaaa",
"w": 1.25
},
"4,2",
{
"c": "#cccccc",
"w": 2.25
},
"4,3",
{
"c": "#aaaaaa"
},
"4,6"
],
[
{
"r": -6,
"y": -3.2,
"x": 8.35,
"c": "#cccccc"
},
"0,7",
"0,8",
"0,9",
"0,10"
],
[
{
"x": 7.9
},
"1,6",
"1,7",
"1,8",
"1,9",
"1,10"
],
[
{
"x": 8.25
},
"2,7",
"2,8",
"2,9",
"2,10"
],
[
{
"x": 7.8
},
"3,7",
"3,8",
"3,9",
"3,10",
"3,11"
],
[
{
"x": 7.8,
"c": "#aaaaaa"
},
"4,7",
{
"c": "#cccccc",
"w": 2.75
},
"4,8",
{
"c": "#aaaaaa"
},
"4,9"
]
]
}
}
Loading

0 comments on commit 0d62890

Please sign in to comment.