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

update momokai RGB mode list #1860

Merged
merged 1 commit into from
May 21, 2023
Merged
Show file tree
Hide file tree
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
134 changes: 108 additions & 26 deletions v3/momokai/momokai_tap_duo.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,108 @@
{
"name": "Momokai Tap Duo",
"vendorId": "0x69F9",
"productId": "0x0005",
"keycodes": ["qmk_lighting"],
"menus": ["qmk_rgblight"],
"matrix": {"rows": 1, "cols": 5},
"layouts": {
"keymap": [
[
{"w": 1.5, "h": 1.5, "c": "#cccccc"},
"0,0",
{"w": 1.5, "h": 1.5, "c": "#cccccc"},
"0,1"
],
[
{"y": 0.5, "x": 0.5, "c": "#aaaaaa"},
"0,2",
{"c": "#aaaaaa"},
"0,3",
{"c": "#aaaaaa"},
"0,4"
]
]
}
}
{
"name": "Momokai Tap Duo",
"vendorId": "0x69F9",
"productId": "0x0005",
"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",
"Gradient Left/Right",
"Breathing",
"Band Sat.",
"Band Val.",
"Spiral Sat.",
"Spiral Val.",
"Cycle All",
"Cycle Left/Right",
"Cycle Up/Down",
"Rainbow Moving Chevron",
"Cycle Out/In",
"Cycle Pinwheel",
"Cycle Spiral",
"Rainbow Beacon",
"Raindrops",
"Pixel Fractal",
"Typing Heatmap",
"Solid Reactive Simple",
"Solid Reactive",
"Solid Reactive Multi Wide",
"Solid Reactive Nexus",
"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]
}
]
}
]
}
],
"matrix": {
"rows": 1,
"cols": 5
},
"layouts": {
"keymap": [
[
{
"w": 1.5,
"h": 1.5,
"c": "#cccccc"
},
"0,0",
{
"w": 1.5,
"h": 1.5,
"c": "#cccccc"
},
"0,1"
],
[
{
"y": 0.5,
"x": 0.5,
"c": "#aaaaaa"
},
"0,2",
{
"c": "#aaaaaa"
},
"0,3",
{
"c": "#aaaaaa"
},
"0,4"
]
]
}
}
66 changes: 64 additions & 2 deletions v3/momokai/momokai_tap_trio.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,69 @@
"vendorId": "0x69F9",
"productId": "0x0006",
"keycodes": ["qmk_lighting"],
"menus": ["qmk_rgblight"],
"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",
"Gradient Up/Down",
"Gradient Left/Right",
"Breathing",
"Band Sat.",
"Band Val.",
"Cycle All",
"Cycle Left/Right",
"Cycle Up/Down",
"Rainbow Moving Chevron",
"Cycle Out/In",
"Cycle Out/In Dual",
"Dual Beacon",
"Rainbow Beacon",
"Raindrops",
"Pixel Fractal",
"Typing Heatmap",
"Solid Reactive Simple",
"Solid Reactive",
"Solid Reactive Multi Wide",
"Solid Reactive Multi Nexus",
"Spash",
"Multi Splash",
"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]
}
]
}
]
}
],
"matrix": {"rows": 1, "cols": 6},
"layouts": {
"keymap": [
Expand All @@ -25,4 +87,4 @@
]
]
}
}
}