summaryrefslogtreecommitdiff
path: root/users/miketronic/miketronic.c
diff options
context:
space:
mode:
Diffstat (limited to 'users/miketronic/miketronic.c')
-rw-r--r--users/miketronic/miketronic.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/users/miketronic/miketronic.c b/users/miketronic/miketronic.c
new file mode 100644
index 0000000000..3c47a72462
--- /dev/null
+++ b/users/miketronic/miketronic.c
@@ -0,0 +1,17 @@
+// Copyright 2023 @miketronic -- Mike B <mxb540@gmail.com>
+// SPDX-License-Identifier: GPL-2.0+
+
+#include "miketronic.h"
+
+
+__attribute__ ((weak)) void keyboard_post_init_keymap(void) { }
+
+// Init effect for RGB boards only
+void keyboard_post_init_user(void) {
+#ifdef RGB_MATRIX_ENABLE
+ rgblight_enable_noeeprom(); // enables Rgb, without saving settings
+ rgblight_sethsv_noeeprom(HSV_ORANGE); // sets the color without saving
+ rgb_matrix_mode_noeeprom(RGB_MATRIX_SOLID_COLOR);
+#endif
+ keyboard_post_init_keymap();
+} \ No newline at end of file