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

Make Ergodox EZ Glow's rgb matrix user configurable #4442

Merged
merged 4 commits into from
Nov 20, 2018
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/ergodox_ez/ergodox_ez.c
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ const is31_led g_is31_leds[DRIVER_LED_TOTAL] = {
};


__attribute__ ((weak))
const rgb_led g_rgb_leds[DRIVER_LED_TOTAL] = {

/*{row | col << 4}
Expand Down
2 changes: 0 additions & 2 deletions keyboards/ergodox_ez/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#include QMK_KEYBOARD_H
#include "debug.h"
#include "action_layer.h"
#include "version.h"

#define BASE 0 // default layer
Expand Down
1 change: 1 addition & 0 deletions keyboards/ergodox_ez/keymaps/default_glow/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// Placeholder. See ../default/keymap.c for details
4 changes: 4 additions & 0 deletions keyboards/ergodox_ez/keymaps/default_glow/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
RGBLIGHT_ENABLE = no
RGB_MATRIX_ENABLE = yes # enable later

SRC += ../default/keymap.c
8 changes: 6 additions & 2 deletions keyboards/ergodox_ez/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
#----------------------------------------------------------------------------

# # project specific files
SRC = matrix.c \
i2c_master.c
SRC += matrix.c

# MCU name
MCU = atmega32u4
Expand Down Expand Up @@ -85,4 +84,9 @@ API_SYSEX_ENABLE = no
RGBLIGHT_ENABLE = yes
RGB_MATRIX_ENABLE = no # enable later

ifeq ($(strip $(RGB_MATRIX_ENABLE)), no)
SRC += i2c_master.c
endif


LAYOUTS = ergodox