Skip to content

Commit

Permalink
Add Coban Pad 9A (#2102)
Browse files Browse the repository at this point in the history
* add support for Coban Pad 9A

* Add support for qmk lighting
  • Loading branch information
RyanDam authored Feb 3, 2024
1 parent f4943f3 commit c40c4a3
Showing 1 changed file with 75 additions and 0 deletions.
75 changes: 75 additions & 0 deletions v3/coban/pad9a/pad9a.json
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"
]
]
}
}

0 comments on commit c40c4a3

Please sign in to comment.