]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - keyboards/ergodox/ez/config.h
Pulls LED config into common config for EZ
[qmk_firmware.git] / keyboards / ergodox / ez / config.h
index 084a044ee1a2ed121708308ad292f7b84802e56e..0b7e8b2ee173a3a41fbed98db32cbac6ac3f1493 100644 (file)
@@ -21,6 +21,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #include "../config.h"
 
+#include "config_common.h"
+
 /* USB Device descriptor parameter */
 #define VENDOR_ID       0xFEED
 #define PRODUCT_ID      0x1307
@@ -43,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.