summaryrefslogtreecommitdiff
path: root/keyboards/bastardkb/scylla/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/bastardkb/scylla/config.h')
-rw-r--r--keyboards/bastardkb/scylla/config.h22
1 files changed, 21 insertions, 1 deletions
diff --git a/keyboards/bastardkb/scylla/config.h b/keyboards/bastardkb/scylla/config.h
index b00e781df2..2a4972ea1e 100644
--- a/keyboards/bastardkb/scylla/config.h
+++ b/keyboards/bastardkb/scylla/config.h
@@ -1,4 +1,4 @@
-/*
+/*
* Copyright 2021 Quentin LEBASTARD <qlebastard@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
@@ -37,3 +37,23 @@
#define DEBOUNCE 5
#define SOFT_SERIAL_PIN D0
#define MASTER_RIGHT
+
+#ifdef RGBLIGHT_ENABLE
+# define RGBLED_NUM 58
+# define RGBLED_SPLIT { 29, 29 }
+# define RGBLIGHT_LIMIT_VAL 50
+# define RGBLIGHT_ANIMATIONS
+#endif
+
+// RGB matrix support
+#ifdef RGB_MATRIX_ENABLE
+# define SPLIT_TRANSPORT_MIRROR
+# define DRIVER_LED_TOTAL 58 // Number of LEDs
+# define RGB_MATRIX_SPLIT { 29, 29 }
+# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50
+# define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
+# ifndef RGB_DISABLE_WHEN_USB_SUSPENDED
+# define RGB_DISABLE_WHEN_USB_SUSPENDED true
+# endif
+# define RGB_MATRIX_KEYPRESSES
+#endif