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/ryanskidmore/rskeys100 | |
parent | de6ae3408c798ab38ed09b6c91ae1684121f5ca2 (diff) |
Migrate RGB Matrix config to info.json - RS (#22909)
Diffstat (limited to 'keyboards/ryanskidmore/rskeys100')
-rw-r--r-- | keyboards/ryanskidmore/rskeys100/config.h | 9 | ||||
-rw-r--r-- | keyboards/ryanskidmore/rskeys100/info.json | 6 |
2 files changed, 5 insertions, 10 deletions
diff --git a/keyboards/ryanskidmore/rskeys100/config.h b/keyboards/ryanskidmore/rskeys100/config.h index 1ec96ddfdf..9f01b96248 100644 --- a/keyboards/ryanskidmore/rskeys100/config.h +++ b/keyboards/ryanskidmore/rskeys100/config.h @@ -3,7 +3,6 @@ #pragma once - /* Key Matrix Sizes */ #define MATRIX_ROWS 6 #define MATRIX_COLS 24 @@ -29,14 +28,6 @@ /* The number of RGB LEDs connected */ #define RGB_MATRIX_LED_COUNT 105 -/* Set the maximum brightness to 110 to avoid going over 500 mA. - * At full brightness with all three indicator LEDs on, the power draw is about 450 mA. */ -#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 110 -/* Enable framebuffer effects */ -#define RGB_MATRIX_FRAMEBUFFER_EFFECTS -/* Enable the cycle left right animation and set it as the startup mode */ -#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT -#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_CYCLE_LEFT_RIGHT /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/ryanskidmore/rskeys100/info.json b/keyboards/ryanskidmore/rskeys100/info.json index 1e7bf80828..dfd6ce5c24 100644 --- a/keyboards/ryanskidmore/rskeys100/info.json +++ b/keyboards/ryanskidmore/rskeys100/info.json @@ -11,7 +11,11 @@ "pin": "C7" }, "rgb_matrix": { - "driver": "ws2812" + "animations": { + "cycle_left_right": true + }, + "driver": "ws2812", + "max_brightness": 110 }, "processor": "atmega32u4", "bootloader": "atmel-dfu", |