Skip to content

Commit

Permalink
[Keychron K6 RGB] Add VIA support
Browse files Browse the repository at this point in the history
  • Loading branch information
stdvar committed Dec 5, 2021
1 parent c48631c commit cefac8e
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 2 deletions.
1 change: 1 addition & 0 deletions bin/build_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
'keychron/k4/rgb/v1',
'keychron/k4/rgb/v2',
'keychron/k6/rgb',
'keychron/k6/rgb/via',
'keychron/k6/white',
'keychron/k8',
'ajazz/ak33/rev1',
Expand Down
4 changes: 2 additions & 2 deletions keyboards/keychron/k6/rgb/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Hardware Supported: SN32F248BF

Make example for this keyboard (after setting up your build environment):

make keychron/k6:iso
make keychron/k6:ansi
make keychron/k6/rgb:iso
make keychron/k6/rgb:ansi

See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
17 changes: 17 additions & 0 deletions keyboards/keychron/k6/rgb/via/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
## Keychron K6

Keychron K6 RGB (Sonix SN32F248B)

Layout by:
[ISO] [Alexander Frank](https://github.com/jedifindtrick)
[ANSI] [rus] (https://github.com/stdvar)

Based on Redragon K566 by: [Adam Honse](https://github.com/CalcProgrammer1), Kemove DK63 by: [Stephen Peery](https://github.com/smp4488) and Keychron K4 by: [Dimitris Mantzouranis](https://github.com/dexter93)
Hardware Supported: SN32F248BF

Make example for this keyboard (after setting up your build environment):

make keychron/k6:iso
make keychron/k6:ansi

See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
1 change: 1 addition & 0 deletions keyboards/keychron/k6/rgb/via/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VIA_ENABLE = yes
16 changes: 16 additions & 0 deletions keyboards/keychron/k6/rgb/via_ansi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "K6 RGB",
"vendorId": "0x0C45",
"productId": "0x5004",
"lighting": "none",
"matrix": {"rows": 5, "cols": 16},
"layouts": {
"keymap": [
["0,0", "0,1", "0,2", "0,3", "0,4", "0,5", "0,6", "0,7", "0,8", "0,9", "0,10", "0,11", "0,12", {"w":2}, "0,13", "0,15"],
[{"w":1.5}, "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", {"w":1.5}, "1,13", "1,15"],
[{"w":1.75}, "2,0", "2,1", "2,2", "2,3", "2,4", "2,5", "2,6", "2,7", "2,8", "2,9", "2,10", "2,11", {"w":2.25}, "2,13", "2,15"],
[{"w":2.25}, "3,0", "3,2", "3,3", "3,4", "3,5", "3,6", "3,7", "3,8", "3,9", "3,10", "3,11", {"w":1.75}, "3,13", "3,14", "3,15"],
[{"w":1.25}, "4,0", {"w":1.25}, "4,1", {"w":1.25}, "4,2", {"w":6.25}, "4,6", "4,10", "4,11", "4,12", "4,13", "4,14", "4,15"]
]
}
}
16 changes: 16 additions & 0 deletions keyboards/keychron/k6/rgb/via_iso.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "K6 RGB",
"vendorId": "0x0C45",
"productId": "0x5004",
"lighting": "none",
"matrix": {"rows": 5, "cols": 16},
"layouts": {
"keymap": [
["0,0", "0,1", "0,2", "0,3", "0,4", "0,5", "0,6", "0,7", "0,8", "0,9", "0,10", "0,11", "0,12", {"w":2}, "0,13", "0,15"],
[{"w":1.5}, "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", {"x":0.25,"w":1.25,"h":2,"w2":1.5,"h2":1,"x2":-0.25}, "2,13", "1,15"],
[{"w":1.75}, "2,0", "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": 1.25 }, "2,15"],
[{"w":1.25}, "3,0", "3,1", "3,2", "3,3", "3,4", "3,5", "3,6", "3,7", "3,8", "3,9", "3,10", "3,11", {"w":1.75}, "3,13", "3,14", "3,15"],
[{"w":1.25}, "4,0", {"w":1.25}, "4,1", {"w":1.25}, "4,2", {"w":6.25}, "4,6", "4,10", "4,11", "4,12", "4,13", "4,14", "4,15"]
]
}
}

0 comments on commit cefac8e

Please sign in to comment.