diff options
author | Joel Challis <git@zvecr.com> | 2024-01-16 01:03:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-16 01:03:55 +0000 |
commit | a90b45e8320389160ee1a649ccf95d6d820fd277 (patch) | |
tree | 2a7dbc7cdb6dc5d1ffef7511ad2307ea0a10db8c /keyboards/silverbullet44 | |
parent | de6ae3408c798ab38ed09b6c91ae1684121f5ca2 (diff) |
Migrate RGB Matrix config to info.json - RS (#22909)
Diffstat (limited to 'keyboards/silverbullet44')
-rw-r--r-- | keyboards/silverbullet44/config.h | 13 | ||||
-rw-r--r-- | keyboards/silverbullet44/info.json | 7 |
2 files changed, 9 insertions, 11 deletions
diff --git a/keyboards/silverbullet44/config.h b/keyboards/silverbullet44/config.h index 2c9eac876c..acba2932db 100644 --- a/keyboards/silverbullet44/config.h +++ b/keyboards/silverbullet44/config.h @@ -19,16 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define MASTER_RIGHT - #ifdef RGB_MATRIX_ENABLE - #define RGB_MATRIX_LED_COUNT 52 - #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 - - #define RGB_MATRIX_FRAMEBUFFER_EFFECTS - - #define RGB_MATRIX_KEYPRESSES // reacts to keypresses - - #define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_TYPING_HEATMAP - #else +#ifdef RGBLIGHT_ENABLE /*== customize breathing effect ==*/ /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ #define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64 @@ -39,7 +30,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define RGBLIGHT_EFFECT_SNAKE_LENGTH RGBLIGHT_LED_COUNT /*== customize knight effect ==*/ #define RGBLIGHT_EFFECT_KNIGHT_LENGTH 6 - #endif +#endif /* Audio */ #ifdef AUDIO_ENABLE diff --git a/keyboards/silverbullet44/info.json b/keyboards/silverbullet44/info.json index a761288fb4..fe45ad86c5 100644 --- a/keyboards/silverbullet44/info.json +++ b/keyboards/silverbullet44/info.json @@ -12,7 +12,14 @@ "pin": "D3" }, "rgb_matrix": { + "animations": { + "typing_heatmap": true + }, + "default": { + "animation": "typing_heatmap" + }, "driver": "ws2812", + "max_brightness": 150, "sat_steps": 8, "val_steps": 8, "speed_steps": 8 |