aboutsummaryrefslogtreecommitdiff
path: root/drivers/ws2812.h
Commit message (Collapse)AuthorAgeFilesLines
* WS2812 API rework (#24364)Ryan2024-10-061-13/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Begin WS2812 API rework * Move RGBW conversion, clean up color.h, fix RGBW for AVR bitbang * Formatting & update PS2AVRGB I2C driver (untested) * Tested ARM bitbang RGB+RGBW * Tested ARM SPI RGB - RGBW not working * Tested ARM PWM RGB+RGBW * Tested RP2040 PIO driver RGB+RGBW * Update RGBLight * Formatting * Fix BM60HSRGB rev2 * Fix oddforge/vea * Fix 1k and XD002 RGBLite * Fix model_m/mschwingen * Fix handwired/promethium * Rename `WS2812_LED_TOTAL` for BM60HSRGB * Fix work_louder boards * Fix dawn60 * Fix rgbkb/pan * Fix neson_design/700e and n6 * Fix ergodox_ez/shine * ergodox_ez/shine: invert indices for left half * Fix matrix/abelx * Fix matrix/m20add * Remove custom rgblight driver for matrix/noah - should be done with lighting layers * Fix LED indexes for RGBLight split * Rename `convert_rgb_to_rgbw()` to `ws2812_rgb_to_rgbw()` * Update WS2812 API docs * `ergodox_ez/shine`: simplify LED index calculation * LED/RGB Matrix: Add weak function for LED index resolution * Bandaid fix for RGB Matrix splits not using WS2812 * `steelseries/prime_plus`: redo custom RGBLight driver * Update keyboards/steelseries/prime_plus/rgblight_custom.c Co-authored-by: Dasky <[email protected]> --------- Co-authored-by: Dasky <[email protected]>
* Add init function to RGBLight driver struct (#23076)Ryan2024-03-181-0/+2
|
* Rename `RGBLED_NUM` -> `RGBLIGHT_LED_COUNT` (#22570)Ryan2023-12-121-3/+3
|
* Clean up RGB LED type (#21859)Ryan2023-09-041-1/+1
|
* ws2812: replace RGBLED_NUM with driver-owned constant to decouple driver ↵Thomas Kriechbaumer2022-10-211-0/+6
| | | | from RGBLEDs/RGBMATRIX defines (#18036)
* Format code according to conventions (#16322)QMK Bot2022-02-121-4/+4
|
* Tidy up adjustable ws2812 timing (#15299)Joel Challis2021-11-251-1/+31
|
* `qmk cformat` (#9500)0.9.18Nick Brassel2020-06-221-2/+2
|
* Fix incorrect delay when setting WS2812 (and similar) leds (#9302)Joshua Diamond2020-06-201-0/+40
* Fix incorrect delay when setting WS2812 (and similar) leds * Add documentation for WS2812_DELAY_MICROSECONDS * Remove improper cast to uint8_t Co-authored-by: Sergey Vlasov <[email protected]> * Remove unneeded cast to uint8_t and correct math Co-authored-by: Sergey Vlasov <[email protected]> * microseconds -> µs Co-authored-by: Ryan <[email protected]> * Make documentation better match the spec sheet. Co-authored-by: Ryan <[email protected]> * Rename macro to match spec sheet * Further correction to the delay maths for the SPI case. Co-authored-by: Joel Challis <[email protected]> * Move ws2812_common.h to the drivers directory * Revert "Further correction to the delay maths for the SPI case." This reverts commit e61b56a2cfc7dfec9992a7a3af92afa50e5b8ec0. * Remove ws2812_setleds_pin(); consolidate ws2812.h Co-authored-by: Sergey Vlasov <[email protected]> Co-authored-by: Ryan <[email protected]> Co-authored-by: Joel Challis <[email protected]>