aboutsummaryrefslogtreecommitdiff
path: root/quantum/color.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename RGB and HSV structs (#24471)Ryan2024-10-121-7/+12
|
* WS2812 API rework (#24364)Ryan2024-10-061-24/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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]>
* Rename `RGBW` define to `WS2812_RGBW` (#23585)Ryan2024-04-281-2/+2
|
* Move `PACKED` define to util.h (#22074)Ryan2023-09-201-14/+1
|
* Clean up RGB LED type (#21859)Ryan2023-09-041-29/+8
|
* fixed typo in orange HSV colors decalartion (#15976)Ryan Hausen2022-01-221-1/+1
|
* Relocate RGB/HSV color defs to a more fitting place (#13377)Ryan2021-06-291-0/+54
|
* Add BGR byte order for WS2812 drivers (#11562)0.11.49kb-elmo2021-01-161-0/+9
| | | | | | | | | | | | | * add byte order bgr for ws2812 * update docs for driver change * Update ws2812_driver.md * Update docs/ws2812_driver.md Co-authored-by: Ryan <[email protected]> Co-authored-by: Ryan <[email protected]>
* Change include guards in quantum/ to pragma once (#11239)0.11.21Ryan2020-12-261-3/+1
|
* add definition WS2812_BYTE_ORDER to fix RGB LED issues (#10184)Josh Hinnebusch2020-12-061-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | * add define for WS2812B-2020 to fix RGB issues * update driver doc * add WS2812_BYTE_ORDER definition to correct RGB byte issues * add definition variable thing * update per PR request * update per PR reqs * update per PR request * inital changes * move defines to color.h and add rgbw incase * Update docs/ws2812_driver.md Co-authored-by: Ryan <[email protected]> Co-authored-by: hineybush <[email protected]> Co-authored-by: Xelus22 <[email protected]> Co-authored-by: Ryan <[email protected]>
* Add support for hsv->rgb conversion without using CIE curve. (#9856)Nick Brassel2020-08-291-0/+1
| | | | | * Add support for hsv->rgb conversion without using CIE curve. * Modify anavi/macropad8 to disable unicode (was unused), otherwise firmware size is too large.
* Use White channel on RGBW LEDs (#7678)Drashna Jaelre2019-12-311-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use White channel on RGBW LEDs Co-authored-by: kwerdenker <[email protected]> * Manually apply white channel to array * Move where convert_rgb_to_rgbw is called * Fix type for rgbw led struct * Add changes to Ergodox EZ can revert if deemed necessary * Revert "Add changes to Ergodox EZ" This reverts commit aa44db198d40d758ca10470eb94615513592d1dd. * Revert "Fix type for rgbw led struct" This reverts commit c5c744cba040201cc0d124400773cf13f8a2cf22. * Revert "Move where convert_rgb_to_rgbw is called" This reverts commit cd7f17caf6dd30731c54b3be54490fe4519444f9. * Revert changes and fix up functions * Enable white channel for Ergodox EZ as well * Only run conversion of rgblight is enabled Co-authored-by: kwerdenker <[email protected]>
* clang-format changesskullY2019-08-301-25/+20
|
* Moving rgb typedefs into a single location (#5978)XScorpion22019-06-041-2/+20
| | | | | Because someone named the define poorly Using full relative path as handwired/promethium has a color.h file
* Adds IS31FL3731 RGB Matrix Implementation (#2910)Jack Humbert2018-05-081-0/+55
* adds is31fl3731 rgb matrix implementation * fix build script for force pushes * allow bootloader size to be overwritten * adds planck light implementation * split led config into 2 arrays * idk * betterize register handling * update planck implementation * update planck * refine rgb interface * cleanup names, rgb matrix * start documentation * finish up docs * add effects list * clean-up merge * add RGB_MATRIX_SKIP_FRAMES * add support for at90usb1286 to bootloader options