summaryrefslogtreecommitdiff
path: root/keyboards/mixi/mixi.c
diff options
context:
space:
mode:
authorGregorio <38576492+ohchiko@users.noreply.github.com>2020-06-18 11:39:16 +0700
committerGitHub <noreply@github.com>2020-06-17 21:39:16 -0700
commit30fd69886dcf069a4e0d2c02ce18803500fcad2e (patch)
tree932c28985b43d8ea7c3a0f8224a8a217feb97dfb /keyboards/mixi/mixi.c
parented528403fd768e804887b957891b7a16319ae4dc (diff)
[Keyboard] Add Mixi (#9364)
* [Keyboard] Add Mixi Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
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();
+}