diff options
author | QMK Bot <hello@qmk.fm> | 2023-07-09 11:11:00 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2023-07-09 11:11:00 +0000 |
commit | ba263f9f6125c643077301021b5a754aae9c02af (patch) | |
tree | 7a585a01b067446b9a8670527457209c0267ba94 /users/miketronic/miketronic.c | |
parent | de1d36031b6aecdb2241d149bd344aa8f5119bb8 (diff) | |
parent | 5bc282eefe36dd45393bcba3f861fa168013f7ce (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'users/miketronic/miketronic.c')
-rw-r--r-- | users/miketronic/miketronic.c | 17 |
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 |