-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add support for Coban Pad 9A * Add support for qmk lighting
- Loading branch information
Showing
1 changed file
with
75 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,75 @@ | ||
{ | ||
"name": "Coban Pad 9A", | ||
"vendorId": "0xCB3A", | ||
"productId": "0xCC9A", | ||
"keycodes": ["qmk_lighting"], | ||
"menus": [ | ||
{ | ||
"label": "Lighting", | ||
"content": [ | ||
{ | ||
"label": "Backlight", | ||
"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": [ | ||
"All Off", | ||
"Solid Color", | ||
"Breathing", | ||
"Cycle All", | ||
"Rainbow Beacon", | ||
"Raindrops", | ||
"Pixel Rain", | ||
"Typing Heatmap", | ||
"Digital Rain", | ||
"Solid Reactive Simple", | ||
"Solid Reactive Wide", | ||
"Solid Reactive Nexus", | ||
"Spash" | ||
] | ||
}, | ||
{ | ||
"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 && {id_qmk_rgb_matrix_effect} != 24 && {id_qmk_rgb_matrix_effect} != 28 && {id_qmk_rgb_matrix_effect} != 29 && {id_qmk_rgb_matrix_effect} != 32", | ||
"label": "Color", | ||
"type": "color", | ||
"content": ["id_qmk_rgb_matrix_color", 3, 4] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
], | ||
"matrix": { "rows": 1, "cols": 8 }, | ||
"layouts": { | ||
"keymap": [ | ||
[ | ||
"0,0\n\n\n\n\n\n\n\n\ne0", | ||
{"y": 0, "x": 1}, | ||
"0,1\n\n\n\n\n\n\n\n\ne1", | ||
{"y": 1.15, "x": -3}, | ||
"0,2", | ||
"0,3", | ||
"0,4", | ||
{"y": 1, "x": -3}, | ||
"0,5", | ||
"0,6", | ||
"0,7" | ||
] | ||
] | ||
} | ||
} |