aboutsummaryrefslogtreecommitdiff
path: root/quantum/color.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename RGB and HSV structs (#24471)Ryan2024-10-121-4/+4
|
* WS2812 API rework (#24364)Ryan2024-10-061-11/+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-1/+1
|
* Clean up RGB LED type (#21859)Ryan2023-09-041-1/+1
|
* Tidy up duplication of MIN/MAX fallback implementations (#20236)Joel Challis2023-03-231-3/+1
|
* Format code according to conventions (#16322)QMK Bot2022-02-121-1/+3
|
* Add support for hsv->rgb conversion without using CIE curve. (#9856)Nick Brassel2020-08-291-3/+23
| | | | | * Add support for hsv->rgb conversion without using CIE curve. * Modify anavi/macropad8 to disable unicode (was unused), otherwise firmware size is too large.
* Run clang-format manually to fix recently changed files (#7934)Joel Challis2020-01-191-3/+3
| | | | | | | | * Run clang-format manually to fix recently changed files * Run clang-format manually to fix recently changed files - revert template files * Run clang-format manually to fix recently changed files - format off for ascii_to_keycode_lut
* Use White channel on RGBW LEDs (#7678)Drashna Jaelre2019-12-311-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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]>
* Smoother Linear Light Table (#6764)XScorpion22019-09-181-6/+4
|
* clang-format changesskullY2019-08-301-61/+56
|
* Fixing hsv_to_rgb where s = 0 and v < 255 (#5915)0.6.384XScorpion22019-05-191-0/+4
| | | | | | * Fixing hsv to rgb where s is 0 and v is < 255 * Update color.c
* Adjusted the linear led table and hsv_to_rgb to better handle 255 hue (#5739)0.6.352XScorpion22019-05-011-4/+5
| | | | | | * Adjusted the linear led table and hsv_to_rgb to better handle 255 hue * small math adjustments to better handle specific uint8_t rounding and overflows
* RGB Matrix Overhaul (#5372)0.6.328XScorpion22019-04-021-0/+2
| | | | | | | | | | | | | * RGB Matrix overhaul Breakout of animations to separate files Integration of optimized int based math lib Overhaul of rgb_matrix.c and animations for performance * Updating effect function api for future extensions * Combined the keypresses || keyreleases define checks into a single define so I stop forgetting it where necessary * Moving define RGB_MATRIX_KEYREACTIVE_ENABLED earlier in the include chain
* Adds IS31FL3731 RGB Matrix Implementation (#2910)Jack Humbert2018-05-081-0/+87
* 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