diff options
author | Ryan <fauxpark@gmail.com> | 2023-06-06 11:08:04 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-06 11:08:04 +1000 |
commit | c9cf9712aaefc2356305cbc731d06f1b1948d8c1 (patch) | |
tree | f5a65b4859b44144b1d9b756f8a7f3bb39191198 /keyboards/bastardkb/dilemma/3x5_3 | |
parent | f91ca76c783b10b5edc167efeb0825cf8249e097 (diff) |
Move `RGBLED_SPLIT` to data driven (#21113)
Co-authored-by: Joel Challis <git@zvecr.com>
Diffstat (limited to 'keyboards/bastardkb/dilemma/3x5_3')
-rw-r--r-- | keyboards/bastardkb/dilemma/3x5_3/config.h | 4 | ||||
-rw-r--r-- | keyboards/bastardkb/dilemma/3x5_3/info.json | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/keyboards/bastardkb/dilemma/3x5_3/config.h b/keyboards/bastardkb/dilemma/3x5_3/config.h index c5fa0dc192..16f48788c1 100644 --- a/keyboards/bastardkb/dilemma/3x5_3/config.h +++ b/keyboards/bastardkb/dilemma/3x5_3/config.h @@ -43,14 +43,12 @@ /* RGB settings. */ #define RGBLED_NUM 36 -#define RGBLED_SPLIT \ - { 18, 18 } /* RGB matrix support. */ #ifdef RGB_MATRIX_ENABLE # define SPLIT_TRANSPORT_MIRROR # define RGB_MATRIX_LED_COUNT RGBLED_NUM -# define RGB_MATRIX_SPLIT RGBLED_SPLIT +# define RGB_MATRIX_SPLIT { 18, 18 } # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50 # define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS # define RGB_DISABLE_WHEN_USB_SUSPENDED diff --git a/keyboards/bastardkb/dilemma/3x5_3/info.json b/keyboards/bastardkb/dilemma/3x5_3/info.json index 57ea2c16df..2ee5d5ea4a 100644 --- a/keyboards/bastardkb/dilemma/3x5_3/info.json +++ b/keyboards/bastardkb/dilemma/3x5_3/info.json @@ -15,6 +15,9 @@ "split": { "soft_serial_pin": "GP1" }, + "rgblight": { + "split_count": [18, 18] + }, "ws2812": { "pin": "GP0", "driver": "vendor" |