summaryrefslogtreecommitdiff
path: root/keyboards/toffee_studio
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/toffee_studio')
-rw-r--r--keyboards/toffee_studio/blueberry/config.h10
-rw-r--r--keyboards/toffee_studio/blueberry/info.json4
2 files changed, 3 insertions, 11 deletions
diff --git a/keyboards/toffee_studio/blueberry/config.h b/keyboards/toffee_studio/blueberry/config.h
index 07a4bae2be..4708cd179b 100644
--- a/keyboards/toffee_studio/blueberry/config.h
+++ b/keyboards/toffee_studio/blueberry/config.h
@@ -16,16 +16,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..f14afaaced 100644
--- a/keyboards/toffee_studio/blueberry/info.json
+++ b/keyboards/toffee_studio/blueberry/info.json
@@ -12,7 +12,9 @@
"pin": "D0"
},
"rgblight": {
- "max_brightness": 192
+ "led_count": 22,
+ "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"],