summaryrefslogtreecommitdiffstats
path: root/keyboards/preonic/keymaps/xyverz/config.h
diff options
context:
space:
mode:
authorXyverz <xyverz@gmail.com>2017-02-10 23:30:08 -0800
committerXyverz <xyverz@gmail.com>2017-02-10 23:30:08 -0800
commit4d7105c2cf47c7604b54cdf488b4eb9d08c1f1cf (patch)
tree0d7dd40a696139e31927e1f0b1532bd5cb2c505d /keyboards/preonic/keymaps/xyverz/config.h
parent060f075fd1961b9835eece4bb6882b238fa68610 (diff)
Added RGB Underglow to my Preonic
Diffstat (limited to 'keyboards/preonic/keymaps/xyverz/config.h')
-rw-r--r--keyboards/preonic/keymaps/xyverz/config.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/keyboards/preonic/keymaps/xyverz/config.h b/keyboards/preonic/keymaps/xyverz/config.h
new file mode 100644
index 0000000000..4e12921fef
--- /dev/null
+++ b/keyboards/preonic/keymaps/xyverz/config.h
@@ -0,0 +1,21 @@
+#ifndef CONFIG_USER_H
+#define CONFIG_USER_H
+
+#include "../../config.h"
+
+// Number of backlight levels
+#undef BACKLIGHT_LEVELS
+#define BACKLIGHT_LEVELS 3
+
+/* ws2812 RGB LED */
+#undef RGB_DI_PIN
+#define RGB_DI_PIN B3
+#undef RGBLED_NUM
+#define RGBLIGHT_ANIMATIONS
+#define RGBLED_NUM 11 // Number of LEDs
+#define RGBLIGHT_HUE_STEP 10
+#define RGBLIGHT_SAT_STEP 17
+#define RGBLIGHT_VAL_STEP 17
+
+
+#endif \ No newline at end of file