summaryrefslogtreecommitdiff
path: root/quantum/rgb_matrix
AgeCommit message (Collapse)Author
2023-11-30Converted RGB matrix to use last_input_activity_elapsed(). (#21687)Pete Neisen
Co-authored-by: Nick Brassel <nick@tzarc.org>
2023-11-26New RGB Animations - 4 "Starlight" Animation Variations (#22212)db
2023-11-01Relocate LED driver init code (#22365)Ryan
2023-10-25RGB/LED matrix use limits size optimisation (#22325)Dasky
2023-10-24Fix compilation error when led/rgb process limit is zero. (#22328)Dasky
Co-authored-by: Drashna Jaelre <drashna@live.com>
2023-10-22Add `_flush()` functions to LED drivers (#22308)Ryan
2023-10-21Rename `DRIVER_ADDR_n` defines (#22200)Ryan
Co-authored-by: Nick Brassel <nick@tzarc.org>
2023-10-04Rename CKLED2001 driver to SNLED27351 (#22071)Ryan
2023-09-29Add _DEFAULT_ON lighting configuration options (#21865)Joel Challis
2023-09-28refactor: move default RGB/LED matrix #defines (#21938)Less/Rikki
* refactor: move default RGB/LED matrix #defines Moving the fallback definitions of macros like LED_MATRIX_VAL_STEP and RGB_MATRIX_MAXIMUM_BRIGHTNESS to header files allows keyboards to leverage these defaults without requiring #ifdef guards (and often repeating said fallback definitions). * style: use if(n)def for consistency and remove redundant UINT8_MAX checks on maximum brightness Co-authored-by: Joel Challis <git@zvecr.com> * refactor: remove INDICATOR_MAX_BRIGHTNESS macro Co-authored-by: Joel Challis <git@zvecr.com> --------- Co-authored-by: Joel Challis <git@zvecr.com>
2023-09-25Added flower blooming on RGB Matrix effect (#21948)HorrorTroll
2023-09-21RGBLight/Backlight: add prefixed driver defines (#22089)Ryan
2023-09-21LED/RGB Matrix: prefix driver defines (#22088)Ryan
2023-09-20Move `PACKED` define to util.h (#22074)Ryan
2023-09-17Complete RGB Matrix support for IS31FL3218 (#22004)Ryan
2023-09-13aw20216: driver naming cleanups (#21891)Ryan
2023-09-04Clean up RGB LED type (#21859)Ryan
2023-08-23RGB Matrix: driver naming cleanups (#21594)Ryan
2023-08-23Simplfy RGB/LED matrix effect logic (#21703)Joel Challis
2023-08-22fix: restore indicators to jellybean_raindrops (#21792)Less/Rikki
After #21169, rgb_matrix_indicators() was limited to running on the final render iteration. Since the jellybean_raindrops animation immediately returns false after updating a single LED, the iteration count no longer ends up high enough to render non-advanced indicators. This change also brings jellybean_raindrops more in line with raindrops.
2023-07-16quantum: remove direct `quantum.h` includes (#21507)Ryan
2023-07-08Set minimum middle column value (#21365)フィルターペーパー
2023-07-02[Core] RGB Matrix limit basic indicators to the last render (#21169)Xelus22
Co-authored-by: Joel Challis <git@zvecr.com>
2023-06-10Refactor the rain lighting decision operator (#21139)Albert Y
2023-06-09[Core] RGB matrix ws2812 update (#21135)Xelus22
* ws2812_update boolean to stop update every single cycle * lint1 Co-authored-by: Joel Challis <git@zvecr.com> * lint2 Co-authored-by: Joel Challis <git@zvecr.com> * Update quantum/rgb_matrix/rgb_matrix_drivers.c --------- Co-authored-by: Joel Challis <git@zvecr.com>
2023-05-27[BUG] Allow multiple IS31FL3741 drivers per board in rgb_matrix (#20988)André Greiner-Petter
2023-05-08[Bug] Realign and size check EECONFIG structures (#20541)Drashna Jaelre
Co-authored-by: Nick Brassel <nick@tzarc.org>
2023-04-30[Core] Clean up ISSI drivers, Add IS31FL3736 support (#20572)Xelus22
Co-authored-by: Pablo Martínez <58857054+elpekenin@users.noreply.github.com>
2023-04-30typing_heatmap: Add macro to configure increase steps (#20300)Jasmin
Co-authored-by: Joel Challis <git@zvecr.com>
2023-04-04Fixed split keyboard issue where custom LED indicators could activate ↵CobraSock
incorrect LEDs (#20203) (#20204) Co-authored-by: N M <ninja.milkman@gmail.com> Fixed split keyboard issue where custom LED indicators could activate incorrect LEDs (#20203)
2023-03-30WS2812 driver improvements (#20262)Ryan
2023-02-14Merge branch 'master' into developDasky
2023-02-13Update fractal attribution comment (#19832)Albert Y
2023-02-12Remove `config.h` include from quantum files (#19817)jack
2023-01-16Refactor pixel rain animation (#19606)Albert Y
2022-12-30Update RGB matrix reactive gradient timer scale (#19415)Albert Y
2022-12-27De-obfuscate random8 functions in RGB matrix animations (#19416)Albert Y
2022-12-27Use random8 for jellybean effect (#19418)Albert Y
2022-11-27Change `RGB_MATRIX_STARTUP_*` defines to `RGB_MATRIX_DEFAULT_*` (#19079)Ryan
2022-10-27Fix rgb_matrix_set_flags_noeeprom declaration (#18860)Joel Challis
2022-10-18[CI] Format code according to conventions (#18756)QMK Bot
2022-10-184 Driver support for IS31FL3737 (#18750)Jamal Bouajjaj
* Added 4 driver support for the IS31FL3737 LED driver * Updated docs for IS31FL3737 to support 4 drivers
2022-10-11Fix boundary in `RGB_MATRIX_INDICATOR_SET_COLOR` (#18650)James Thomson
2022-10-04Fix Per Key LED Indicator Callbacks (#18450)Drashna Jaelre
Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
2022-09-26Change `{LED,RGB}_DISABLE_TIMEOUT` to `{LED,RGB}_MATRIX_TIMEOUT` (#18415)Ryan
2022-09-23Change `DRIVER_LED_COUNT` to `{LED,RGB}_MATRIX_LED_COUNT` (#18399)Ryan
2022-09-19Merge remote-tracking branch 'origin/master' into developQMK Bot
2022-09-19Fix int8_t overflow in RGB heatmap effect (#18410)Marius Renner
2022-08-30Use a macro to compute the size of arrays at compile time (#18044)Jeff Epler
* Add ARRAY_SIZE and CEILING utility macros * Apply a coccinelle patch to use ARRAY_SIZE * fix up some straggling items * Fix 'make test:secure' * Enhance ARRAY_SIZE macro to reject acting on pointers The previous definition would not produce a diagnostic for ``` int *p; size_t num_elem = ARRAY_SIZE(p) ``` but the new one will. * explicitly get definition of ARRAY_SIZE * Convert to ARRAY_SIZE when const is involved The following spatch finds additional instances where the array is const and the division is by the size of the type, not the size of the first element: ``` @ rule5a using "empty.iso" @ type T; const T[] E; @@ - (sizeof(E)/sizeof(T)) + ARRAY_SIZE(E) @ rule6a using "empty.iso" @ type T; const T[] E; @@ - sizeof(E)/sizeof(T) + ARRAY_SIZE(E) ``` * New instances of ARRAY_SIZE added since initial spatch run * Use `ARRAY_SIZE` in docs (found by grep) * Manually use ARRAY_SIZE hs_set is expected to be the same size as uint16_t, though it's made of two 8-bit integers * Just like char, sizeof(uint8_t) is guaranteed to be 1 This is at least true on any plausible system where qmk is actually used. Per my understanding it's universally true, assuming that uint8_t exists: https://stackoverflow.com/questions/48655310/can-i-assume-that-sizeofuint8-t-1 * Run qmk-format on core C files touched in this branch Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
2022-08-11Refactor Pixel Fractal effect (#17602)Albert Y
* Refactor effect with smaller array * Add RGB_MATRIX_USE_LIMITS call * Remove spaces Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Drashna Jaelre <drashna@live.com>