1
0
Fork 0

RGB Matrix support for Scylla (#13415)

Co-authored-by: filterpaper <filterpaper@localhost>
This commit is contained in:
Albert Y 2021-07-14 12:26:00 +08:00 committed by GitHub
parent ef8267d6a7
commit b29179de1a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 68 additions and 3 deletions

View file

@ -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