summaryrefslogtreecommitdiff
path: root/keyboards/splitkb/kyria/rev1/config.h
diff options
context:
space:
mode:
authorAlbert Y <76888457+filterpaper@users.noreply.github.com>2021-07-27 10:42:34 +0800
committerGitHub <noreply@github.com>2021-07-26 19:42:34 -0700
commitbe34fdea4b2903ae12de57b36a68b7c7b0648b74 (patch)
tree1cc608dfbab46e11a56448e4c6496b1856bb8cf5 /keyboards/splitkb/kyria/rev1/config.h
parent3affdcb45b51641b2a5d918c69f3afe2b2f5c757 (diff)
[Keyboard] Add RGB matrix support for Kyria (#12789)
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: filterpaper <filterpaper@localhost>
Diffstat (limited to 'keyboards/splitkb/kyria/rev1/config.h')
-rw-r--r--keyboards/splitkb/kyria/rev1/config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/keyboards/splitkb/kyria/rev1/config.h b/keyboards/splitkb/kyria/rev1/config.h
index 1b7dc98496..2c96e74a76 100644
--- a/keyboards/splitkb/kyria/rev1/config.h
+++ b/keyboards/splitkb/kyria/rev1/config.h
@@ -72,3 +72,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifdef OLED_DRIVER_ENABLE
# define OLED_DISPLAY_128X64
#endif
+
+/* RGB matrix support */
+#ifdef RGB_MATRIX_ENABLE
+# define SPLIT_TRANSPORT_MIRROR
+# define DRIVER_LED_TOTAL RGBLED_NUM // Number of LEDs
+# define RGB_MATRIX_SPLIT { 10, 10 }
+# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 170
+# define RGB_DISABLE_WHEN_USB_SUSPENDED
+#endif