summaryrefslogtreecommitdiff
path: root/keyboards/mixi/mixi.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mixi/mixi.c')
-rw-r--r--keyboards/mixi/mixi.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/keyboards/mixi/mixi.c b/keyboards/mixi/mixi.c
new file mode 100644
index 0000000000..533cf3b881
--- /dev/null
+++ b/keyboards/mixi/mixi.c
@@ -0,0 +1,13 @@
+#include "mixi.h"
+
+void eeconfig_init_kb(void) {
+#ifdef RGBLIGHT_ENABLE
+ rgblight_enable(); // Enable RGB underglow by default
+#ifdef RGBLIGHT_ANIMATIONS
+ rgblight_mode(RGBLIGHT_MODE_TWINKLE + 5); // Set to RGB_TWINKLE animation by default
+#endif
+#endif
+
+ eeconfig_update_kb(0);
+ eeconfig_init_user();
+}