mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-28 20:18:49 +06:00
Merge pull request #4442 from drashna/ergodox_ez_glow_configurable
Make Ergodox EZ Glow's rgb matrix user configurable
This commit is contained in:
commit
385de70e4d
@ -269,6 +269,7 @@ const is31_led g_is31_leds[DRIVER_LED_TOTAL] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
__attribute__ ((weak))
|
||||||
const rgb_led g_rgb_leds[DRIVER_LED_TOTAL] = {
|
const rgb_led g_rgb_leds[DRIVER_LED_TOTAL] = {
|
||||||
|
|
||||||
/*{row | col << 4}
|
/*{row | col << 4}
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
#include "debug.h"
|
|
||||||
#include "action_layer.h"
|
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
|
|
||||||
#define BASE 0 // default layer
|
#define BASE 0 // default layer
|
||||||
|
1
keyboards/ergodox_ez/keymaps/default_glow/keymap.c
Normal file
1
keyboards/ergodox_ez/keymaps/default_glow/keymap.c
Normal file
@ -0,0 +1 @@
|
|||||||
|
// Placeholder. See ../default/keymap.c for details
|
4
keyboards/ergodox_ez/keymaps/default_glow/rules.mk
Normal file
4
keyboards/ergodox_ez/keymaps/default_glow/rules.mk
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
RGBLIGHT_ENABLE = no
|
||||||
|
RGB_MATRIX_ENABLE = yes # enable later
|
||||||
|
|
||||||
|
SRC += ../default/keymap.c
|
@ -15,8 +15,7 @@
|
|||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
|
||||||
# # project specific files
|
# # project specific files
|
||||||
SRC = matrix.c \
|
SRC += matrix.c
|
||||||
i2c_master.c
|
|
||||||
|
|
||||||
# MCU name
|
# MCU name
|
||||||
MCU = atmega32u4
|
MCU = atmega32u4
|
||||||
@ -85,4 +84,9 @@ API_SYSEX_ENABLE = no
|
|||||||
RGBLIGHT_ENABLE = yes
|
RGBLIGHT_ENABLE = yes
|
||||||
RGB_MATRIX_ENABLE = no # enable later
|
RGB_MATRIX_ENABLE = no # enable later
|
||||||
|
|
||||||
|
ifeq ($(strip $(RGB_MATRIX_ENABLE)), no)
|
||||||
|
SRC += i2c_master.c
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
LAYOUTS = ergodox
|
LAYOUTS = ergodox
|
||||||
|
Loading…
Reference in New Issue
Block a user