summaryrefslogtreecommitdiff
path: root/keyboards/ergodox/ez/config.h
diff options
context:
space:
mode:
authorDamien <Dbroqua@users.noreply.github.com>2016-12-09 19:44:03 +0100
committerGitHub <noreply@github.com>2016-12-09 19:44:03 +0100
commit13c4080a1d77cb1dfdf48df8a42e78b9dc483912 (patch)
tree66fd988d98a32e1437fbc6cb80bee03c056722a7 /keyboards/ergodox/ez/config.h
parenta849bdc5811b2bb69df8e3b0948c8e81c0dfa9d4 (diff)
parent985a091a739c99736d5b17de5161831488dbc219 (diff)
Merge pull request #13 from jackhumbert/master
Merged from qmk
Diffstat (limited to 'keyboards/ergodox/ez/config.h')
-rw-r--r--keyboards/ergodox/ez/config.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/keyboards/ergodox/ez/config.h b/keyboards/ergodox/ez/config.h
index 084a044ee1..c2750a321f 100644
--- a/keyboards/ergodox/ez/config.h
+++ b/keyboards/ergodox/ez/config.h
@@ -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
@@ -39,6 +41,17 @@ 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
+
/* Set 0 if debouncing isn't needed */
#define DEBOUNCE 5