summaryrefslogtreecommitdiff
path: root/quantum/rgblight/rgblight.c
AgeCommit message (Collapse)AuthorFilesLines
2025-11-30[CI] Format code according to conventions (#25827)QMK Bot1-1/+1
Format code according to conventions
2025-05-20[Chore] use {rgblight,rgb_matrix}_hsv_to_rgb overrides (#25271)Stefan Kerkmann1-4/+4
2025-03-21Non-volatile memory data repository pattern (#24356)Nick Brassel1-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.
2024-10-24RGBLight: Improve RGB Test animation (#24477)Ryan1-22/+6
2024-10-12Rename RGB and HSV structs (#24471)Ryan1-13/+13
2024-10-06WS2812 API rework (#24364)Ryan1-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>
2024-04-28Rename `RGBW` define to `WS2812_RGBW` (#23585)Ryan1-9/+9
2024-03-24Fix rgblight init (#23335)Dasky1-3/+3
2024-03-22Un-`extern` RGBLight `led[]` array (#23322)Ryan1-9/+9
2024-03-18Add init function to RGBLight driver struct (#23076)Ryan1-0/+2
2023-12-16Remove redundant rgblight eeconfig init (#22674)Joel Challis1-6/+0
2023-12-12Rename `RGBLED_NUM` -> `RGBLIGHT_LED_COUNT` (#22570)Ryan1-16/+16
2023-12-05Rework RGBLight driver system (#22529)Ryan1-20/+13
2023-09-29Add `RGBLIGHT_DEFAULT_ON` macro configuration option (#20857)Álvaro A. Volpato1-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>
2023-09-25Move velocikey to within rgblight (#22123)Joel Challis1-12/+69
2023-09-21RGBLight/Backlight: add prefixed driver defines (#22089)Ryan1-1/+1
2023-09-04Clean up RGB LED type (#21859)Ryan1-25/+25
2023-06-18Fix up operator precedence in RGBLIGHT (#21280)Nick Brassel1-1/+1
2023-05-08[Bug] Realign and size check EECONFIG structures (#20541)Drashna Jaelre1-10/+11
Co-authored-by: Nick Brassel <nick@tzarc.org>
2023-03-23Tidy up duplication of MIN/MAX fallback implementations (#20236)Joel Challis1-7/+1
2023-03-23Add some helpers to tidy up XAP (#20235)Joel Challis1-0/+4
2022-12-15Fix non-functional RGBLIGHT_EFFECT_TWINKLE on ARM (#19335)Joshua Diamond1-1/+3
2022-11-10Avoid repeated calls to rgblight_set() in tight succession when setting ↵Joshua Diamond1-11/+27
lighting layers (#18338) Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
2022-09-28Fix retain brightness when val is changed while a layer is active (#18426)izmishi1-5/+13
* Fix retain brightness when val is changed while a layer is active * Fix retain brightness for RGBLIGHT_MODE_STATIC_GRADIENT * Fix formatting
2022-09-19[Core] remove busy waiting from rgblight functions (#18418)Stefan Kerkmann1-4/+0
2022-04-28Remove ARM pgm_read_word workaround in rgblight (#16961)Joel Challis1-6/+2
2022-04-21Merge remote-tracking branch 'origin/master' into developQMK Bot1-3/+4
2022-04-21rgblight: Fix rgblight_blink_layer when multiple layers are active (#16824)Simon Arlott1-3/+4
2022-04-18Add customizable snake and knight animation increments (#16337)Michał Szczepaniak1-4/+4
2022-04-17rgblight: Add functions to stop blinking one or all but one layer (#16859)Simon Arlott1-0/+15
2022-04-16rgblight: Limit max repeat times in rgblight_blink_layer_repeat (#16860)Simon Arlott1-0/+4
2022-02-12Format code according to conventions (#16322)QMK Bot1-66/+160
2021-07-25Merge remote-tracking branch 'upstream/master' into developNick Brassel1-11/+3
2021-07-21Retain brightness with lighting layers (#13025)Patrick Stadler1-0/+7
Add guard `RGBLIGHT_LAYERS_RETAIN_VAL` to retain the currently used val when applying lighting layers.
2021-06-28Move RGBLight code into its own folder (#13312)Ryan1-0/+1391