Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BINEPAD BNK9 #2153

Merged
merged 6 commits into from
Feb 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
124 changes: 124 additions & 0 deletions v3/binepad/bnk9/bnk9.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
{
"name": "BNK9",
"vendorId": "0x4249",
"productId": "0x4E39",
"matrix": {"rows": 4, "cols": 3},
"layouts": {
"keymap": [
[{"w": 3, "h": 3}, "0,0\n\n\n\n\n\n\n\n\ne0", {"x": 0.25}, "1,0", "1,1", "1,2"],
[{"x": 3.25}, "2,0", "2,1", "2,2"],
[{"x": 3.25}, "3,0", "3,1", "3,2"]
]
},
"keycodes": ["qmk_lighting"],
"menus": [
{
"label": "Lighting",
"content": [
{
"label": "Backlight",
"content": [
{
"label": "Effect",
"type": "dropdown",
"content": ["id_qmk_rgb_matrix_effect", 3, 2],
"options": [
["00. None", 0],
["01. Solid Color", 1],
["02. Breathing", 2],
["03. Cycle_all", 3],
["04. Cycle Left Right", 4],
["05 .Cycle Up Down", 5],
["06. Cycle Pinwheel", 6],
["07. Jellybean Raindrops", 7],
["08. Solid Reactive Simple", 8],
["09. Solid Reactive", 9],
["10. Splash", 10],
["11. Solid Splash", 11],
["12. Starlight", 12],
["13. Starlight Dual Hue", 13],
["14. Starlight Dual Saturation", 14],
["15. Riverflow", 15],
["16. Per-key Static", 16]
]
},
{
"showIf": "{id_qmk_rgb_matrix_effect} > 0 && {id_qmk_rgb_matrix_effect} < 16",
"label": "Color",
"type": "color",
"content": ["id_qmk_rgb_matrix_color", 3, 4]
},
{
"showIf": "{id_qmk_rgb_matrix_effect} > 0",
"label": "Brightness",
"type": "range",
"options": [0, 180],
"content": ["id_qmk_rgb_matrix_brightness", 3, 1]
},
{
"showIf": "{id_qmk_rgb_matrix_effect} > 1 && {id_qmk_rgb_matrix_effect} < 16",
"label": "Effect Speed",
"type": "range",
"options": [0, 255],
"content": ["id_qmk_rgb_matrix_effect_speed", 3, 3]
},
{
"showIf": "{id_qmk_rgb_matrix_effect} == 16",
"label": "1. Top Left Key",
"type": "color",
"content": ["id_custom_color[0]", 0, 1, 0]
},
{
"showIf": "{id_qmk_rgb_matrix_effect} == 16",
"label": "2. Top Centre Key",
"type": "color",
"content": ["id_custom_color[1]", 0, 1, 1]
},
{
"showIf": "{id_qmk_rgb_matrix_effect} == 16",
"label": "3. Top Left Key",
"type": "color",
"content": ["id_custom_color[2]", 0, 1, 2]
},
{
"showIf": "{id_qmk_rgb_matrix_effect} == 16",
"label": "4. Middle Left Key",
"type": "color",
"content": ["id_custom_color[3]", 0, 1, 5]
},
{
"showIf": "{id_qmk_rgb_matrix_effect} == 16",
"label": "5. Middle Centre Key",
"type": "color",
"content": ["id_custom_color[4]", 0, 1, 4]
},
{
"showIf": "{id_qmk_rgb_matrix_effect} == 16",
"label": "6. Middle Right Key",
"type": "color",
"content": ["id_custom_color[5]", 0, 1, 3]
},
{
"showIf": "{id_qmk_rgb_matrix_effect} == 16",
"label": "7. Bottom Left Key",
"type": "color",
"content": ["id_custom_color[6]", 0, 1, 6]
},
{
"showIf": "{id_qmk_rgb_matrix_effect} == 16",
"label": "8. Bottom Centre Key",
"type": "color",
"content": ["id_custom_color[7]", 0, 1, 7]
},
{
"showIf": "{id_qmk_rgb_matrix_effect} == 16",
"label": "9. Bottom Right Key",
"type": "color",
"content": ["id_custom_color[8]", 0, 1, 8]
}
]
}
]
}
]
}
Loading