forked from mirrors/qmk_userspace
Brightness for Ergodox Infinity emulated LEDs
This commit is contained in:
parent
39385144e7
commit
5fbaf31dc2
5 changed files with 63 additions and 23 deletions
|
@ -32,6 +32,10 @@ SOFTWARE.
|
|||
#define LCD_SAT(color) ((color >> 8) & 0xFF)
|
||||
#define LCD_INT(color) (color & 0xFF)
|
||||
|
||||
inline uint32_t change_lcd_color_intensity(uint32_t color, uint8_t new_intensity) {
|
||||
return (color & 0xFFFFFF00) | new_intensity;
|
||||
}
|
||||
|
||||
void lcd_backlight_init(void);
|
||||
void lcd_backlight_color(uint8_t hue, uint8_t saturation, uint8_t intensity);
|
||||
void lcd_backlight_brightness(uint8_t b);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue