~ruther/qmk_firmware

ref: fb0c64a567b6dd2536aae0c2df56a915ffa72404 qmk_firmware/users/miketronic/miketronic.c -rw-r--r-- 527 bytes
fb0c64a5 — Nick Brassel Allow inline generation of compile_commands.json while doing a `qmk compile`, using `--compiledb` (#21549) 1 year, 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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();
}
Do not follow this link