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 3 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
15 changes: 15 additions & 0 deletions keyboards/ergodox_ez/keymaps/default_glow/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# ErgoDox EZ Default Configuration

## Changelog

* Dec 2016:
* Added LED keys
* Refreshed layout graphic, comes from http://configure.ergodox-ez.com now.
* Sep 22, 2016:
* Created a new key in layer 1 (bottom-corner key) that resets the EEPROM.
* Feb 2, 2016 (V1.1):
* Made the right-hand quote key double as Cmd/Win on hold. So you get ' when you tap it, " when you tap it with Shift, and Cmd or Win when you hold it. You can then use it as a modifier, or just press and hold it for a moment (and then let go) to send a single Cmd or Win keystroke (handy for opening the Start menu on Windows).

This is what we ship with out of the factory. :) The image says it all:

![Default](https://i.imgur.com/Be53jH7.png)
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