diff options
author | Danny <[email protected]> | 2019-03-23 20:20:14 -0400 |
---|---|---|
committer | Drashna Jaelre <[email protected]> | 2019-03-23 17:20:14 -0700 |
commit | f077204fae729e66f8dfa16db82263ff2ff84d59 (patch) | |
tree | dbd23687e838271e9f90b7dab25b0312745eb5e3 /quantum/rgblight.h | |
parent | 23086808a78c9234232e2ddbf0c977d1fb2cb6ae (diff) | |
download | qmk_firmware-f077204fae729e66f8dfa16db82263ff2ff84d59.tar.gz qmk_firmware-f077204fae729e66f8dfa16db82263ff2ff84d59.zip |
Add support for RGB LEDs wired directly to each half's controller (#5392)0.6.321
* Add support for wiring RGB LEDs for both halves directly to their respective controllers
RGB LEDs for each half don't need to be chained together across the TRRS cable with this
* Add split RGB LED support for serial
* Update config/rules for bakingpy layout
* Un-nest ifdefs for hand detection
* Read RGB config state from memory instead of EEPROM for serial updates
* Reuse existing LED pointer instead of creating new one
Diffstat (limited to 'quantum/rgblight.h')
-rw-r--r-- | quantum/rgblight.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/quantum/rgblight.h b/quantum/rgblight.h index 36e436b899..1769f719d9 100644 --- a/quantum/rgblight.h +++ b/quantum/rgblight.h @@ -197,6 +197,7 @@ void rgblight_setrgb_master(uint8_t r, uint8_t g, uint8_t b); void rgblight_setrgb_slave(uint8_t r, uint8_t g, uint8_t b); void rgblight_sethsv_master(uint16_t hue, uint8_t sat, uint8_t val); void rgblight_sethsv_slave(uint16_t hue, uint8_t sat, uint8_t val); +void rgblight_set_clipping_range(uint8_t start_pos, uint8_t num_leds); uint32_t eeconfig_read_rgblight(void); void eeconfig_update_rgblight(uint32_t val); |