diff options
author | Erez Zukerman <ezukerman@godaddy.com> | 2016-11-28 07:55:02 -0500 |
---|---|---|
committer | Erez Zukerman <ezukerman@godaddy.com> | 2016-11-28 07:55:02 -0500 |
commit | 2d0ada01902a0103dc4f4f54a416f0666c641b5b (patch) | |
tree | 1fe5354b79d6762a76faf891157f501c093e2967 /keyboards | |
parent | 7edac212c8ed8442bf4207e70dc8194631b2bf27 (diff) | |
download | firmware-2d0ada01902a0103dc4f4f54a416f0666c641b5b.tar.gz firmware-2d0ada01902a0103dc4f4f54a416f0666c641b5b.tar.bz2 firmware-2d0ada01902a0103dc4f4f54a416f0666c641b5b.zip |
Pulls LED config into common config for EZ
Diffstat (limited to 'keyboards')
-rw-r--r-- | keyboards/ergodox/ez/config.h | 11 | ||||
-rw-r--r-- | keyboards/ergodox/keymaps/erez_experimental/config.h | 10 |
2 files changed, 11 insertions, 10 deletions
diff --git a/keyboards/ergodox/ez/config.h b/keyboards/ergodox/ez/config.h index 67a856e51..0b7e8b2ee 100644 --- a/keyboards/ergodox/ez/config.h +++ b/keyboards/ergodox/ez/config.h @@ -45,6 +45,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 +/* ws2812 RGB LED */ +#define RGB_DI_PIN D7 +#define RGBLIGHT_ANIMATIONS +#define RGBLED_NUM 15 // Number of LEDs +#define RGBLIGHT_HUE_STEP 12 +#define RGBLIGHT_SAT_STEP 255 +#define RGBLIGHT_VAL_STEP 12 + +#define RGB_MIDI +#define RGBW_BB_TWI + /* * Feature disable options * These options are also useful to firmware size reduction. diff --git a/keyboards/ergodox/keymaps/erez_experimental/config.h b/keyboards/ergodox/keymaps/erez_experimental/config.h index fbd12ab79..4da18c65a 100644 --- a/keyboards/ergodox/keymaps/erez_experimental/config.h +++ b/keyboards/ergodox/keymaps/erez_experimental/config.h @@ -9,15 +9,5 @@ #undef LEADER_TIMEOUT #define LEADER_TIMEOUT 300 -/* ws2812 RGB LED */ -#define RGB_DI_PIN D7 -#define RGBLIGHT_ANIMATIONS -#define RGBLED_NUM 15 // Number of LEDs -#define RGBLIGHT_HUE_STEP 12 -#define RGBLIGHT_SAT_STEP 255 -#define RGBLIGHT_VAL_STEP 12 - -#define RGB_MIDI -#define RGBW_BB_TWI #endif |