~ruther/qmk_firmware

ref: 41bd4e35a09cc50f45112074d2b776254a3a17f8 qmk_firmware/keyboards/keebio/levinson/keymaps/issmirnov/rgb.h -rw-r--r-- 453 bytes
41bd4e35 — Ryan Clean up RGB LED type (#21859) 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once
#include "quantum.h"
#include "issmirnov.h"

// Welcome animation when keyboard boots
void keyboard_post_init_rgb(void);

// If rgb enabled, set underglow for layer
layer_state_t layer_state_set_rgb(layer_state_t state);

// Enhance matrix scan code. Note: keep this light, since it runs every 100ms
void matrix_scan_rgb(void);

// Light up SHIFT and GUI indicator when pressed.
void set_rgb_indicators(uint8_t this_mod, uint8_t this_osm);