Skip to content

Commit

Permalink
[Keyboard] Enable RGB Matrix for Corne (#12091)
Browse files Browse the repository at this point in the history
  • Loading branch information
drashna authored Mar 3, 2021
1 parent 18a333e commit 41933ef
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions keyboards/crkbd/rev1/common/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

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

#define DIODE_DIRECTION COL2ROW
1 change: 0 additions & 1 deletion keyboards/crkbd/rev1/common/rules.mk
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
SPLIT_KEYBOARD = yes
SPLIT_TRANSPORT = mirror # for when Split Mirroring drops, it will maintain mirroring functionality
2 changes: 1 addition & 1 deletion keyboards/crkbd/rev1/rev1.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ led_config_t g_led_config = { {

void matrix_init_kb(void) {

#ifdef RGB_MATRIX_ENABLE
#if defined(RGB_MATRIX_ENABLE) && !defined(RGB_MATRIX_SPLIT)
if (!isLeftHand) {
g_led_config = (led_config_t){ {
{ 51, 50, 45, 44, 37, 36 },
Expand Down

0 comments on commit 41933ef

Please sign in to comment.