-
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 dp3000 macropad (#1934)
- Loading branch information
1 parent
18db447
commit f4626ae
Showing
1 changed file
with
104 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,104 @@ | ||
{ | ||
"name": "dp3000", | ||
"vendorId": "0x4450", | ||
"productId": "0x6470", | ||
"matrix": {"rows": 3, "cols": 4}, | ||
"menus": [ | ||
{ | ||
"label": "Lighting", | ||
"content": [ | ||
{ | ||
"label": "Backlight", | ||
"content": [ | ||
{ | ||
"label": "Brightness", | ||
"type": "range", | ||
"options": [0, 180], | ||
"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", | ||
"Alphas Mods", | ||
"Gradient Up/Down", | ||
"Gradient Left/Right", | ||
"Breathing", | ||
"Band Sat.", | ||
"Band Val.", | ||
"Pinwheel Sat.", | ||
"Pinwheel Val.", | ||
"Spiral Sat.", | ||
"Spiral Val.", | ||
"Cycle All", | ||
"Cycle Left/Right", | ||
"Cycle Up/Down", | ||
"Rainbow Moving Chevron", | ||
"Cycle Pinwheel", | ||
"Cycle Spiral", | ||
"Raindrops", | ||
"Hue Breathing", | ||
"Hue Pendulum", | ||
"Hue Wave", | ||
"Typing Heatmap", | ||
"Solid Reactive Simple", | ||
"Solid Reactive", | ||
"Solid Reactive Multi Nexus", | ||
"Spash", | ||
"Solid Splash" | ||
] | ||
}, | ||
{ | ||
"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] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
], | ||
"layouts": { | ||
"keymap": [ | ||
[ | ||
{ | ||
"c":"#aaaaaa" | ||
}, | ||
"0,0\n\n\n\n\n\n\n\n\ne0", | ||
{ | ||
"x": 2 | ||
}, | ||
"0,3\n\n\n\n\n\n\n\n\ne1" | ||
], | ||
[ | ||
{ | ||
"y": 0.5 | ||
}, | ||
{ | ||
"c":"#cccccc" | ||
}, | ||
"1,0", | ||
"1,1", | ||
"1,2", | ||
"1,3" | ||
], | ||
[ | ||
"2,0", | ||
"2,1", | ||
"2,2", | ||
"2,3" | ||
] | ||
] | ||
} | ||
} |