aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/rgblight/rgblight.c
Commit message (Collapse)AuthorAgeFilesLines
* [CI] Format code according to conventions (#25827)QMK Bot2025-11-301-1/+1
| | | Format code according to conventions
* [Chore] use {rgblight,rgb_matrix}_hsv_to_rgb overrides (#25271)Stefan Kerkmann2025-05-201-4/+4
|
* Non-volatile memory data repository pattern (#24356)Nick Brassel2025-03-211-31/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * First batch of eeconfig conversions. * Offset and length for datablocks. * `via`, `dynamic_keymap`. * Fix filename. * Commentary. * wilba leds * satisfaction75 * satisfaction75 * more keyboard whack-a-mole * satisfaction75 * omnikeyish * more whack-a-mole * `generic_features.mk` to automatically pick up nvm repositories * thievery * deferred variable resolve * whitespace * convert api to structs/unions * convert api to structs/unions * convert api to structs/unions * fixups * code-side docs * code size fix * rollback * nvm_xxxxx_erase * Updated location of eeconfig magic numbers so non-EEPROM nvm drivers can use them too. * Fixup build. * Fixup compilation error with encoders. * Build fixes. * Add `via_ci` keymap to onekey to exercise VIA bindings (and thus dynamic keymap et.al.), fixup compilation errors based on preprocessor+sizeof. * Build failure rectification.
* RGBLight: Improve RGB Test animation (#24477)Ryan2024-10-241-22/+6
|
* Rename RGB and HSV structs (#24471)Ryan2024-10-121-13/+13
|
* WS2812 API rework (#24364)Ryan2024-10-061-107/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 <32983009+daskygit@users.noreply.github.com> --------- Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
* Rename `RGBW` define to `WS2812_RGBW` (#23585)Ryan2024-04-271-9/+9
|
* Fix rgblight init (#23335)Dasky2024-03-241-3/+3
|
* Un-`extern` RGBLight `led[]` array (#23322)Ryan2024-03-221-9/+9
|
* Add init function to RGBLight driver struct (#23076)Ryan2024-03-181-0/+2
|
* Remove redundant rgblight eeconfig init (#22674)Joel Challis2023-12-161-6/+0
|
* Rename `RGBLED_NUM` -> `RGBLIGHT_LED_COUNT` (#22570)Ryan2023-12-121-16/+16
|
* Rework RGBLight driver system (#22529)Ryan2023-12-051-20/+13
|
* Add `RGBLIGHT_DEFAULT_ON` macro configuration option (#20857)Álvaro A. Volpato2023-09-291-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ADD RGB_DEFAULT_DISABLED option and updated documentation * Formatting * Add as by fauxpark's suggestion Co-authored by: fauxpark * Formatting * Use boolean values instead of numerical Co-authored-by: Ryan <fauxpark@gmail.com> * Edit documentation formatting Co-authored-by: Ryan <fauxpark@gmail.com> * Remove comment Co-authored-by: Ryan <fauxpark@gmail.com> * Set RGB mode to DEFAULT macro at init Co-authored-by: Ryan <fauxpark@gmail.com> --------- Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: zvecr <git@zvecr.com>
* Move velocikey to within rgblight (#22123)Joel Challis2023-09-251-12/+69
|
* RGBLight/Backlight: add prefixed driver defines (#22089)Ryan2023-09-211-1/+1
|
* Clean up RGB LED type (#21859)Ryan2023-09-041-25/+25
|
* Fix up operator precedence in RGBLIGHT (#21280)Nick Brassel2023-06-181-1/+1
|
* [Bug] Realign and size check EECONFIG structures (#20541)Drashna Jaelre2023-05-081-10/+11
| | | | Co-authored-by: Nick Brassel <nick@tzarc.org>
* Tidy up duplication of MIN/MAX fallback implementations (#20236)Joel Challis2023-03-231-7/+1
|
* Add some helpers to tidy up XAP (#20235)Joel Challis2023-03-231-0/+4
|
* Fix non-functional RGBLIGHT_EFFECT_TWINKLE on ARM (#19335)Joshua Diamond2022-12-151-1/+3
|
* Avoid repeated calls to rgblight_set() in tight succession when setting ↵Joshua Diamond2022-11-101-11/+27
| | | | | lighting layers (#18338) Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
* Fix retain brightness when val is changed while a layer is active (#18426)izmishi2022-09-281-5/+13
| | | | | | | * Fix retain brightness when val is changed while a layer is active * Fix retain brightness for RGBLIGHT_MODE_STATIC_GRADIENT * Fix formatting
* [Core] remove busy waiting from rgblight functions (#18418)Stefan Kerkmann2022-09-191-4/+0
|
* Remove ARM pgm_read_word workaround in rgblight (#16961)Joel Challis2022-04-291-6/+2
|
* Merge remote-tracking branch 'origin/master' into developQMK Bot2022-04-211-3/+4
|\
| * rgblight: Fix rgblight_blink_layer when multiple layers are active (#16824)Simon Arlott2022-04-211-3/+4
| |
* | Add customizable snake and knight animation increments (#16337)Michał Szczepaniak2022-04-181-4/+4
| |
* | rgblight: Add functions to stop blinking one or all but one layer (#16859)Simon Arlott2022-04-171-0/+15
|/
* rgblight: Limit max repeat times in rgblight_blink_layer_repeat (#16860)Simon Arlott2022-04-161-0/+4
|
* Format code according to conventions (#16322)QMK Bot2022-02-121-66/+160
|
* Merge remote-tracking branch 'upstream/master' into developNick Brassel2021-07-251-11/+3
|
* Retain brightness with lighting layers (#13025)Patrick Stadler2021-07-221-0/+7
| | | | Add guard `RGBLIGHT_LAYERS_RETAIN_VAL` to retain the currently used val when applying lighting layers.
* Move RGBLight code into its own folder (#13312)Ryan2021-06-281-0/+1391