[Keyboard] Enable RGB Matrix for Corne (#12091)

This commit is contained in:
Drashna Jaelre 2021-03-03 10:38:21 -08:00 committed by GitHub
parent 18a333ec6b
commit 41933efbf0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 2 deletions

View file

@ -23,6 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifdef RGB_MATRIX_ENABLE #ifdef RGB_MATRIX_ENABLE
# define RGB_MATRIX_SPLIT { 27, 27 } # define RGB_MATRIX_SPLIT { 27, 27 }
# define SPLIT_TRANSPORT_MIRROR
#endif #endif
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW

View file

@ -1,2 +1 @@
SPLIT_KEYBOARD = yes SPLIT_KEYBOARD = yes
SPLIT_TRANSPORT = mirror # for when Split Mirroring drops, it will maintain mirroring functionality

View file

@ -87,7 +87,7 @@ led_config_t g_led_config = { {
void matrix_init_kb(void) { void matrix_init_kb(void) {
#ifdef RGB_MATRIX_ENABLE #if defined(RGB_MATRIX_ENABLE) && !defined(RGB_MATRIX_SPLIT)
if (!isLeftHand) { if (!isLeftHand) {
g_led_config = (led_config_t){ { g_led_config = (led_config_t){ {
{ 51, 50, 45, 44, 37, 36 }, { 51, 50, 45, 44, 37, 36 },