-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add VIA support for redragon k667 (#2028)
* Add VIA support for redragon k667 * Add Colors according to KLE JSON Rules
- Loading branch information
Showing
1 changed file
with
273 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,273 @@ | ||
{ | ||
"name": "k667", | ||
"vendorId": "0x369B", | ||
"productId": "0x0021", | ||
"firmwareVersion": 0, | ||
"keycodes": [ "qmk_lighting" ], | ||
"menus": [ | ||
{ | ||
"label": "rgb_matrix", | ||
"content": [ | ||
{ | ||
"label": "rgb_matrix_regulate", | ||
"content": [ | ||
{ | ||
"label": "Brightness", | ||
"type": "range", | ||
"options": [ 0, 255 ], | ||
"content": [ "id_qmk_rgb_matrix_brightness", 3, 1 ] | ||
}, | ||
{ | ||
"label": "Effect", | ||
"type": "dropdown", | ||
"content": [ "id_qmk_rgb_matrix_effect", 3, 2 ], | ||
"options": [ | ||
[ "00.NONE", 0 ], | ||
[ "01.Solid Color", 1 ], | ||
[ "02.Gradient Up/Down", 2 ], | ||
[ "03.Gradient Left/Right", 3 ], | ||
[ "04.Breathing", 4 ], | ||
[ "05.Band Sat", 5 ], | ||
[ "06.Band Val", 6 ], | ||
[ "07.Spiral Sat", 7 ], | ||
[ "08.Spiral Val", 8 ], | ||
[ "09.Cycle All", 9 ], | ||
[ "10.Cycle Left/Right", 10 ], | ||
[ "11.Cycle Up/Down", 11 ], | ||
[ "12.Hue Wave", 12 ], | ||
[ "13.Pixel Fractal", 13 ] | ||
] | ||
}, | ||
{ | ||
"showIf": "{id_qmk_rgb_matrix_effect} != 0", | ||
"label": "Effect Speed", | ||
"type": "range", | ||
"options": [ 0, 255 ], | ||
"content": [ "id_qmk_rgb_matrix_effect_speed", 3, 3 ] | ||
}, | ||
{ | ||
"showIf": "{id_qmk_rgb_matrix_effect} != 0", | ||
"label": "Color", | ||
"type": "color", | ||
"content": [ "id_qmk_rgb_matrix_color", 3, 4 ] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
], | ||
"matrix": { | ||
"rows": 6, | ||
"cols": 16 | ||
}, | ||
"layouts": { | ||
"keymap": [ | ||
[ | ||
{ | ||
"t": "0", | ||
"c": "#777777" | ||
}, | ||
"0,0\nESC", | ||
{ | ||
"x": 1, | ||
"c": "#cccccc" | ||
}, | ||
"0,2", | ||
"0,3", | ||
"0,4", | ||
"0,5", | ||
{ | ||
"x": 0.5 | ||
}, | ||
"0,6", | ||
"0,7", | ||
"0,8", | ||
"0,9", | ||
{ | ||
"x": 0.5 | ||
}, | ||
"0,10", | ||
"0,11", | ||
"0,12", | ||
"0,13", | ||
{ | ||
"x": 0.5 | ||
}, | ||
"0,15\n\n\n\n\n\n\n\n\ne0" | ||
], | ||
[ | ||
{ | ||
"y": 0.05, | ||
"c": "#cccccc" | ||
}, | ||
"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.25 | ||
}, | ||
"1,13", | ||
{ | ||
"x": 0.75 | ||
}, | ||
"1,14" | ||
], | ||
[ | ||
{ | ||
"y": 0.05, | ||
"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,12", | ||
{ | ||
"w": 1.5 | ||
}, | ||
"2,13", | ||
{ | ||
"x": 0.75, | ||
"c": "#aaaaaa" | ||
}, | ||
"2,14" | ||
], | ||
[ | ||
{ | ||
"y": 0.05, | ||
"w": 2 | ||
}, | ||
"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", | ||
{ | ||
"w": 2.25, | ||
"c": "#777777" | ||
}, | ||
"3,13", | ||
{ | ||
"x": 0.75, | ||
"c": "#aaaaaa" | ||
}, | ||
"3,14" | ||
], | ||
[ | ||
{ | ||
"y": 0.05, | ||
"w": 2.5 | ||
}, | ||
"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,12", | ||
{ | ||
"x": 0.5, | ||
"c": "#777777" | ||
}, | ||
"4,13", | ||
{ | ||
"x": 0.25, | ||
"c": "#aaaaaa" | ||
}, | ||
"4,14" | ||
], | ||
[ | ||
{ | ||
"y": 0.05, | ||
"c": "#aaaaaa", | ||
"w": 1.5 | ||
}, | ||
"5,0", | ||
{ | ||
"w": 1.25 | ||
}, | ||
"5,1", | ||
{ | ||
"w": 1.25 | ||
}, | ||
"5,2", | ||
{ | ||
"c": "#cccccc", | ||
"w": 6 | ||
}, | ||
"5,6", | ||
{ | ||
"c": "#aaaaaa" | ||
}, | ||
"5,9", | ||
"5,10", | ||
{ | ||
"w": 1.25 | ||
}, | ||
"5,11", | ||
{ | ||
"x": 0.25, | ||
"c": "#777777" | ||
}, | ||
"5,12", | ||
{ | ||
"x": 0.25, | ||
"c": "#777777" | ||
}, | ||
"5,13", | ||
{ | ||
"x": 0.25, | ||
"c": "#777777" | ||
}, | ||
"5,14" | ||
] | ||
] | ||
} | ||
} |