diff --git a/v3/treasure/type9s3.json b/v3/treasure/type9s3.json new file mode 100644 index 0000000000..9fd30c1a8b --- /dev/null +++ b/v3/treasure/type9s3.json @@ -0,0 +1,85 @@ +{ + "name": "Treasure TYPE-9 Series III", + "vendorId": "0x5452", + "productId": "0x5493", + "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": [ + ["00. None", 0], + ["01. SOLID_COLOR", 1], + ["02. GRADIENT_UP_DOWN", 2], + ["03. GRADIENT_LEFT_RIGHT", 3], + ["04. BREATHING", 4], + ["05. CYCLE_ALL", 5], + ["06. CYCLE_LEFT_RIGHT", 6], + ["07. CYCLE_UP_DOWN", 7], + ["08. JELLYBEAN_RAINDROPS", 8], + ["09. PIXEL_FRACTAL", 9], + ["10. PIXEL_RAIN", 10], + ["11. TYPING_HEATMAP", 11], + ["12. DIGITAL_RAIN", 12], + ["13. SOLID_REACTIVE_SIMPLE", 13], + ["14. SOLID_REACTIVE_MULTIWIDE", 14], + ["15. SOLID_REACTIVE_NEXUS", 15], + ["16. SPLASH", 16], + ["17. SOLID_SPLASH", 17] + ] + }, + { + "showIf": "{id_qmk_rgb_matrix_effect} > 1", + "label": "Effect Speed", + "type": "range", + "options": [0, 255], + "content": ["id_qmk_rgb_matrix_effect_speed", 3, 3] + }, + { + "showIf": "{id_qmk_rgb_matrix_effect} != 0", + "label": "Color", + "type": "color", + "content": ["id_qmk_rgb_matrix_color", 3, 4] + } + ] + } + ] + } + ], + "matrix": { + "rows": 3, + "cols": 3 + }, + "layouts": { + "keymap": [ + [ + "0,0", + "0,1", + "0,2" + ], + [ + "1,0", + "1,1", + "1,2" + ], + [ + "2,0", + "2,1", + "2,2" + ] + ] + } + }