]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - keyboards/ergodox/ez/config.h
Move SSD1306 function declarations to header file
[qmk_firmware.git] / keyboards / ergodox / ez / config.h
index 59fc0fda74752f698d78b25e59808be4003bab9e..e4f95c302c2be286ee346d199101c22e7b533fe6 100644 (file)
@@ -16,11 +16,13 @@ You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-#ifndef CONFIG_H
-#define CONFIG_H
+#ifndef ERGODOX_EZ_CONFIG_H
+#define ERGODOX_EZ_CONFIG_H
 
 #include "../config.h"
 
+#include "config_common.h"
+
 /* USB Device descriptor parameter */
 #define VENDOR_ID       0xFEED
 #define PRODUCT_ID      0x1307
@@ -39,10 +41,24 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #define LED_BRIGHTNESS_LO       15
 #define LED_BRIGHTNESS_HI       255
 
+/* 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
+
+#define RGBW 1
 
 /* Set 0 if debouncing isn't needed */
 #define DEBOUNCE    5
 
+#define USB_MAX_POWER_CONSUMPTION 500
+
 /*
  * Feature disable options
  *  These options are also useful to firmware size reduction.