From 2347d6865011a3a24d6a13ebafc7e605a7406a54 Mon Sep 17 00:00:00 2001 From: peepeetee Date: Sun, 14 May 2023 14:10:35 -0500 Subject: [PATCH] update momokai RGB mode list --- v3/momokai/momokai_tap_duo.json | 134 +++++++++++++++++++++++++------ v3/momokai/momokai_tap_trio.json | 66 ++++++++++++++- 2 files changed, 172 insertions(+), 28 deletions(-) diff --git a/v3/momokai/momokai_tap_duo.json b/v3/momokai/momokai_tap_duo.json index 9d96e82649..bfc65de714 100644 --- a/v3/momokai/momokai_tap_duo.json +++ b/v3/momokai/momokai_tap_duo.json @@ -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" + ] + ] + } +} diff --git a/v3/momokai/momokai_tap_trio.json b/v3/momokai/momokai_tap_trio.json index 43cf81d83c..8b422dbb46 100644 --- a/v3/momokai/momokai_tap_trio.json +++ b/v3/momokai/momokai_tap_trio.json @@ -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": [ @@ -25,4 +87,4 @@ ] ] } -} +} \ No newline at end of file