diff options
Diffstat (limited to 'quantum/rgblight.h')
| -rw-r--r-- | quantum/rgblight.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/quantum/rgblight.h b/quantum/rgblight.h index a6593af98..569424506 100644 --- a/quantum/rgblight.h +++ b/quantum/rgblight.h | |||
| @@ -134,7 +134,16 @@ void rgb_matrix_decrease(void); | |||
| 134 | 134 | ||
| 135 | void sethsv(uint16_t hue, uint8_t sat, uint8_t val, LED_TYPE *led1); | 135 | void sethsv(uint16_t hue, uint8_t sat, uint8_t val, LED_TYPE *led1); |
| 136 | void setrgb(uint8_t r, uint8_t g, uint8_t b, LED_TYPE *led1); | 136 | void setrgb(uint8_t r, uint8_t g, uint8_t b, LED_TYPE *led1); |
| 137 | |||
| 137 | void rgblight_sethsv_noeeprom(uint16_t hue, uint8_t sat, uint8_t val); | 138 | void rgblight_sethsv_noeeprom(uint16_t hue, uint8_t sat, uint8_t val); |
| 139 | void rgblight_mode_noeeprom(uint8_t mode); | ||
| 140 | void rgblight_toggle_noeeprom(void); | ||
| 141 | void rgblight_enable_noeeprom(void); | ||
| 142 | void rgblight_disable_noeeprom(void); | ||
| 143 | |||
| 144 | void rgblight_sethsv_eeprom_helper(uint16_t hue, uint8_t sat, uint8_t val, bool write_to_eeprom); | ||
| 145 | void rgblight_mode_eeprom_helper(uint8_t mode, bool write_to_eeprom); | ||
| 146 | |||
| 138 | 147 | ||
| 139 | #define EZ_RGB(val) rgblight_show_solid_color((val >> 16) & 0xFF, (val >> 8) & 0xFF, val & 0xFF) | 148 | #define EZ_RGB(val) rgblight_show_solid_color((val >> 16) & 0xFF, (val >> 8) & 0xFF, val & 0xFF) |
| 140 | void rgblight_show_solid_color(uint8_t r, uint8_t g, uint8_t b); | 149 | void rgblight_show_solid_color(uint8_t r, uint8_t g, uint8_t b); |
