summaryrefslogtreecommitdiff
path: root/keyboards/giabalanai
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-06-14 22:01:13 +1000
committerGitHub <noreply@github.com>2023-06-14 22:01:13 +1000
commit9551a0a38aca3d32e38a123ae2854a8c82b26195 (patch)
treeb246fae82fe993ad7d7aabc51cc2fa408f8517b5 /keyboards/giabalanai
parent6c4286152f924fc98a6f18e14987f1db6e55ae5e (diff)
Move `RGBLIGHT_LED_MAP` to data driven (#21095)
Diffstat (limited to 'keyboards/giabalanai')
-rw-r--r--keyboards/giabalanai/config.h22
-rw-r--r--keyboards/giabalanai/info.json3
2 files changed, 2 insertions, 23 deletions
diff --git a/keyboards/giabalanai/config.h b/keyboards/giabalanai/config.h
index fda301537f..1471806690 100644
--- a/keyboards/giabalanai/config.h
+++ b/keyboards/giabalanai/config.h
@@ -41,28 +41,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// By default, LEDs of the buttons which are pressed turn on.
// # define RGBLIGHT_EFFECT_TWINKLE
// # define RGBLIGHT_EFFECT_KNIGHT
-
-
-// RGBLIGHT LED MAP
-// Right 1st row (12 LEDs)
-// ENCODER
-// Right 2nd .. 5th row(13, 12, 13, 12 LEDs)
-// Left 1st .. 5th row (12 LEDs x 5 rows)
-
-# define RGBLIGHT_LED_MAP { \
- 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, \
- 97, \
- 84, 83, 82, 81, 80, 79, 78, 77, 76, 75, 74, 73, 72, \
- 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, \
- 110, 109, 108, 107, 106, 105, 104, 103, 102, 101, 100, 99, 98, \
- 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, \
- \
- 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, \
- 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, \
- 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, \
- 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, \
- 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48 \
- }
#endif
#ifdef RGB_MATRIX_ENABLE
diff --git a/keyboards/giabalanai/info.json b/keyboards/giabalanai/info.json
index 7c2fa72047..7274505f9b 100644
--- a/keyboards/giabalanai/info.json
+++ b/keyboards/giabalanai/info.json
@@ -12,7 +12,8 @@
"driver": "WS2812"
},
"rgblight": {
- "max_brightness": 80
+ "max_brightness": 80,
+ "led_map": [60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 97, 84, 83, 82, 81, 80, 79, 78, 77, 76, 75, 74, 73, 72, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 110, 109, 108, 107, 106, 105, 104, 103, 102, 101, 100, 99, 98, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48]
},
"matrix_pins": {
"cols": ["B1", "F7", "F6", "F5", "F4", "B3", "B2", "B6", "D0", "D1"],