Skip to content

Commit

Permalink
Merge pull request #4442 from drashna/ergodox_ez_glow_configurable
Browse files Browse the repository at this point in the history
Make Ergodox EZ Glow's rgb matrix user configurable
  • Loading branch information
ezuk authored Nov 20, 2018
2 parents f03fd95 + 9e0f68a commit 385de70
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
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

0 comments on commit 385de70

Please sign in to comment.