[Keyboard] crkbd: compile time hand-dependent rgb_matrix LED declarations (#5657)

Set RGB_MATRIX_SPLIT_RIGHT=yes when flashing the right hand side of the
keyboard.
This commit is contained in:
Len Trigg
2019-04-19 23:33:07 -07:00
committed by Drashna Jaelre
parent 4856552f8b
commit 8170be5b10
2 changed files with 73 additions and 125 deletions
+6
View File
@@ -1,3 +1,9 @@
RGB_MATRIX_SPLIT_RIGHT = no # if no, order LEDs for left hand, if yes, order LEDs for right hand
ifeq ($(strip $(RGB_MATRIX_SPLIT_RIGHT)), yes)
OPT_DEFS += -DRGB_MATRIX_SPLIT_RIGHT
endif
SRC += rev1/matrix.c
SRC += rev1/split_util.c
SRC += rev1/split_scomm.c