Groundwork for dedicated color keycodes
This commit is contained in:
parent
9bbc9a7ce0
commit
285c5a91f2
3 changed files with 31 additions and 1 deletions
|
@ -253,6 +253,13 @@ void rgblight_toggle(void) {
|
|||
}
|
||||
}
|
||||
|
||||
void rgblight_enable(void) {
|
||||
rgblight_config.enable = 1;
|
||||
eeconfig_update_rgblight(rgblight_config.raw);
|
||||
xprintf("rgblight enable: rgblight_config.enable = %u\n", rgblight_config.enable);
|
||||
rgblight_mode(rgblight_config.mode);
|
||||
}
|
||||
|
||||
|
||||
void rgblight_increase_hue(void) {
|
||||
uint16_t hue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue