Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Keyboard] Enable RGB Matrix for Corne #12091

Merged
merged 1 commit into from
Mar 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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