1
0
Fork 0

Userspace and keymap addition (#20522)

Co-authored-by: Drashna Jaelre <drashna@live.com>
This commit is contained in:
miketronic 2023-07-09 07:10:24 -04:00 committed by GitHub
parent 06a36824ad
commit 5bc282eefe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 1503 additions and 0 deletions

View file

@ -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();
}