Skip to content

Commit

Permalink
[Keyboard] Enable RGB Matrix for Corne (qmk#12091)
Browse files Browse the repository at this point in the history
  • Loading branch information
drashna authored and mechlovin committed Jul 30, 2021
1 parent 112dca5 commit 3f9e9ad
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions keyboards/crkbd/rev1/common/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/*
Copyright 2019 @foostan
Copyright 2020 Drashna Jaelre <@drashna>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#define USE_SERIAL
#define SOFT_SERIAL_PIN D2

#ifdef RGB_MATRIX_ENABLE
# define RGB_MATRIX_SPLIT { 27, 27 }
# define SPLIT_TRANSPORT_MIRROR
#endif

#define DIODE_DIRECTION COL2ROW

0 comments on commit 3f9e9ad

Please sign in to comment.