aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards
diff options
context:
space:
mode:
authorErez Zukerman <ezukerman@godaddy.com>2016-11-28 07:55:02 -0500
committerErez Zukerman <ezukerman@godaddy.com>2016-11-28 07:55:02 -0500
commit2d0ada01902a0103dc4f4f54a416f0666c641b5b (patch)
tree1fe5354b79d6762a76faf891157f501c093e2967 /keyboards
parent7edac212c8ed8442bf4207e70dc8194631b2bf27 (diff)
downloadfirmware-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.h11
-rw-r--r--keyboards/ergodox/keymaps/erez_experimental/config.h10
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