diff options
author | Ryan <fauxpark@gmail.com> | 2023-06-14 22:01:13 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-14 22:01:13 +1000 |
commit | 9551a0a38aca3d32e38a123ae2854a8c82b26195 (patch) | |
tree | b246fae82fe993ad7d7aabc51cc2fa408f8517b5 /keyboards/toffee_studio | |
parent | 6c4286152f924fc98a6f18e14987f1db6e55ae5e (diff) |
Move `RGBLIGHT_LED_MAP` to data driven (#21095)
Diffstat (limited to 'keyboards/toffee_studio')
-rw-r--r-- | keyboards/toffee_studio/blueberry/config.h | 9 | ||||
-rw-r--r-- | keyboards/toffee_studio/blueberry/info.json | 3 |
2 files changed, 2 insertions, 10 deletions
diff --git a/keyboards/toffee_studio/blueberry/config.h b/keyboards/toffee_studio/blueberry/config.h index 07a4bae2be..4b24094b22 100644 --- a/keyboards/toffee_studio/blueberry/config.h +++ b/keyboards/toffee_studio/blueberry/config.h @@ -17,15 +17,6 @@ #pragma once # define RGBLED_NUM 22 - -/* RGB LED logical order map */ -/* Top->Bottom, Right->Left */ -#define RGBLIGHT_LED_MAP { \ - 19, 18, 17, 16, 15, 14, 13, 12, 11, \ - 20, 10, \ - 21, 9, \ - 0, 1, 2, 3, 4, 5, 6, 7, 8 } - # define RGBLIGHT_EFFECT_BREATHING # define RGBLIGHT_EFFECT_RAINBOW_MOOD # define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/toffee_studio/blueberry/info.json b/keyboards/toffee_studio/blueberry/info.json index 6acd8f4a58..eb32a1209d 100644 --- a/keyboards/toffee_studio/blueberry/info.json +++ b/keyboards/toffee_studio/blueberry/info.json @@ -12,7 +12,8 @@ "pin": "D0" }, "rgblight": { - "max_brightness": 192 + "max_brightness": 192, + "led_map": [19, 18, 17, 16, 15, 14, 13, 12, 11, 20, 10, 21, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8] }, "matrix_pins": { "cols": ["B6", "D4", "D6", "D7", "B4", "B5", "C6", "C7"], |