diff options
author | Joel Challis <[email protected]> | 2024-01-16 01:16:31 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-01-16 01:16:31 +0000 |
commit | e1f59a6efc793522155db35155f6fbdc0504d504 (patch) | |
tree | 07538fce2ce1f3c6a49895a8e04864615f6490ab /keyboards/treasure | |
parent | e30d0e52871ce46e6f94d5535c1d60aa75668fe5 (diff) | |
download | qmk_firmware-e1f59a6efc793522155db35155f6fbdc0504d504.tar.gz qmk_firmware-e1f59a6efc793522155db35155f6fbdc0504d504.zip |
Migrate RGB Matrix config to info.json - TUVW (#22910)
Diffstat (limited to 'keyboards/treasure')
-rw-r--r-- | keyboards/treasure/type9s3/config.h | 30 | ||||
-rw-r--r-- | keyboards/treasure/type9s3/info.json | 25 |
2 files changed, 24 insertions, 31 deletions
diff --git a/keyboards/treasure/type9s3/config.h b/keyboards/treasure/type9s3/config.h deleted file mode 100644 index ba9969bcec..0000000000 --- a/keyboards/treasure/type9s3/config.h +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2023 Treasure -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -#define RGB_MATRIX_LED_COUNT 9 - -#define RGB_MATRIX_DEFAULT_SPD 40 // Sets the default animation speed, if none has been set -#define RGB_MATRIX_DEFAULT_VAL 120 - -#define RGB_MATRIX_KEYPRESSES -#define RGB_MATRIX_FRAMEBUFFER_EFFECTS -#define RGB_MATRIX_SLEEP - -#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN -#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT -#define ENABLE_RGB_MATRIX_BREATHING -#define ENABLE_RGB_MATRIX_CYCLE_ALL -#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT -#define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN -#define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS -#define ENABLE_RGB_MATRIX_PIXEL_FRACTAL -#define ENABLE_RGB_MATRIX_PIXEL_RAIN -#define ENABLE_RGB_MATRIX_TYPING_HEATMAP -#define ENABLE_RGB_MATRIX_DIGITAL_RAIN -#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE -#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE -#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS -#define ENABLE_RGB_MATRIX_SPLASH -#define ENABLE_RGB_MATRIX_SOLID_SPLASH diff --git a/keyboards/treasure/type9s3/info.json b/keyboards/treasure/type9s3/info.json index 8e9c9fa38f..cb2bcf3a7a 100644 --- a/keyboards/treasure/type9s3/info.json +++ b/keyboards/treasure/type9s3/info.json @@ -31,6 +31,28 @@ "pin": "B6" }, "rgb_matrix": { + "animations": { + "gradient_up_down": true, + "gradient_left_right": true, + "breathing": true, + "cycle_all": true, + "cycle_left_right": true, + "cycle_up_down": true, + "jellybean_raindrops": true, + "pixel_fractal": true, + "pixel_rain": true, + "typing_heatmap": true, + "digital_rain": true, + "solid_reactive_simple": true, + "solid_reactive_multiwide": true, + "solid_reactive_nexus": true, + "splash": true, + "solid_splash": true + }, + "default": { + "speed": 40, + "val": 120 + }, "driver": "ws2812", "layout": [ { "matrix": [2, 0],"flags": 4, "x": 0, "y": 20 }, @@ -42,7 +64,8 @@ { "matrix": [0, 0],"flags": 4, "x": 0, "y": 0 }, { "matrix": [0, 1],"flags": 4, "x": 10, "y": 0 }, { "matrix": [0, 2],"flags": 4, "x": 20, "y": 0 } - ] + ], + "sleep": true }, "community_layouts": ["ortho_3x3"], "layouts": { |