Skip to content

Commit

Permalink
Add VIA support for dp3000 macropad (#1934)
Browse files Browse the repository at this point in the history
  • Loading branch information
depermana12 authored Jul 8, 2023
1 parent 18db447 commit f4626ae
Showing 1 changed file with 104 additions and 0 deletions.
104 changes: 104 additions & 0 deletions v3/dp3000/dp3000.json
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"
]
]
}
}

0 comments on commit f4626ae

Please sign in to comment.