summaryrefslogtreecommitdiffstats
path: root/quantum/rgb_matrix
Commit message (Collapse)AuthorAgeFilesLines
* De-obfuscate random8 functions in RGB matrix animations (#19416)Albert Y2022-12-273-20/+7
|
* Use random8 for jellybean effect (#19418)Albert Y2022-12-271-2/+2
|
* Change `RGB_MATRIX_STARTUP_*` defines to `RGB_MATRIX_DEFAULT_*` (#19079)Ryan2022-11-271-14/+14
|
* Fix rgb_matrix_set_flags_noeeprom declaration (#18860)Joel Challis2022-10-271-1/+1
|
* [CI] Format code according to conventions (#18756)QMK Bot2022-10-181-12/+12
|
* 4 Driver support for IS31FL3737 (#18750)Jamal Bouajjaj2022-10-181-0/+18
| | | | | * Added 4 driver support for the IS31FL3737 LED driver * Updated docs for IS31FL3737 to support 4 drivers
* Fix boundary in `RGB_MATRIX_INDICATOR_SET_COLOR` (#18650)James Thomson2022-10-111-1/+1
|
* Fix Per Key LED Indicator Callbacks (#18450)Drashna Jaelre2022-10-042-10/+16
| | | | Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
* Change `{LED,RGB}_DISABLE_TIMEOUT` to `{LED,RGB}_MATRIX_TIMEOUT` (#18415)Ryan2022-09-261-17/+13
|
* Change `DRIVER_LED_COUNT` to `{LED,RGB}_MATRIX_LED_COUNT` (#18399)Ryan2022-09-238-22/+22
|
* Merge remote-tracking branch 'origin/master' into developQMK Bot2022-09-191-1/+1
|\
| * Fix int8_t overflow in RGB heatmap effect (#18410)Marius Renner2022-09-191-1/+1
| |
* | Use a macro to compute the size of arrays at compile time (#18044)Jeff Epler2022-08-301-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Refactor Pixel Fractal effect (#17602)Albert Y2022-08-111-50/+28
| | | | | | | | | | | * 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>
* Add LED limit call (#17679)Albert Y2022-07-141-7/+7
|
* Fix the use of LED limits (#17678)Albert Y2022-07-141-8/+7
|
* [Code] Add solid reactive gradient mode (#17228)Albert Y2022-07-145-0/+15
|
* Update LED/RGB Matrix flag function behavior (#17651)Drashna Jaelre2022-07-122-1/+12
|
* RGB Matrix Heatmap - Skip positions with NO_LED (#17488)Dasky2022-06-291-0/+6
|
* Fix RGB heatmap to use XY positions and use correct led limits (#17184)Dasky2022-06-212-44/+51
| | | | | | | | | | | | | | | * Fix RGB heatmap to use XY positions * lower effect area limit and make configurable * tidy up macro * Fix triggering in both directions. * add docs * fix bug when decreasing value * performance tweak
* Fixes #16705 : digital rain follows val (#16716)KoenGoe2022-04-191-7/+15
| | | Co-authored-by: Drashna Jaelre <drashna@live.com>
* Heatmap incorrect matrix effect workaround (#16315)Albert Y2022-04-161-0/+5
|
* Format code according to conventions (#16322)QMK Bot2022-02-1243-198/+369
|
* Fix right side ws2812 leds having two indices (#15985)Dasky2022-02-111-3/+8
| | | | | * Fix right side leds having two indices * remove redundant left check
* Add RGB matrix & LED Matrix support for IS31FL3742A, IS31FL3743A, ↵MasterSpoon2022-02-062-1/+53
| | | | | IS31FL3745, IS31FL3746A (#14989) Co-authored-by: Xelus22 <17491233+Xelus22@users.noreply.github.com>
* RGB Matrix: Reload from EEPROM (#15923)Adam Lickel2022-02-042-0/+13
| | | Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
* Format code according to conventions (#16211)QMK Bot2022-02-041-7/+5
|
* [Core] Add Pixel Flow RGB matrix effect (#15829)Albert Y2022-02-052-0/+52
| | | | | | | | | | | * Initial PIXEL FLOW matrix effect commit * Commit suggested use of rgb_matrix_check_finished_leds Co-authored-by: Sergey Vlasov <sigprof@gmail.com> * Code change support for split RGB Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
* Merge remote-tracking branch 'origin/master' into developQMK Bot2022-02-042-52/+0
|\
| * Revert "[Core] Add Pixel Flow RGB matrix effect (#15829)" (#16209)Nick Brassel2022-02-052-52/+0
| | | | | | This reverts commit e8fa329073d8752cad9b11b90287fd20f130ac6f.
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-02-042-0/+52
|\|
| * [Core] Add Pixel Flow RGB matrix effect (#15829)Albert Y2022-02-052-0/+52
| | | | | | | | | | | | | | | | | | | | | | * Initial PIXEL FLOW matrix effect commit * Commit suggested use of rgb_matrix_check_finished_leds Co-authored-by: Sergey Vlasov <sigprof@gmail.com> * Code change support for split RGB Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
* | Add init function to clear previous effect (#15815)Albert Y2022-01-171-0/+4
|/
* fix RGB_DISABLE_TIMEOUT flicker on split keyboards (#14954)Erik Berthold2021-12-271-6/+2
|
* Format code according to conventions (#15195)QMK Bot2021-11-171-7/+11
|
* Rename RGB fractal (#15174)Albert Y2021-11-162-5/+5
| | | Co-authored-by: filterpaper <filterpaper@localhost>
* Require explicit enabling of RGB Matrix modes (#15018)Drashna Jaelre2021-11-1534-214/+60
|
* Add Pixel Rain RGB Matrix effect (#14155)Albert Y2021-11-022-0/+45
| | | | | | | | | | | | | | | * Add Pixel animation header file * Add Pixel animation to documentation * Add Pixel animation to core include file * Remove unintended spaces * Remove seeding of PRNG * Increase frequency of lit keys Co-authored-by: filterpaper <filterpaper@localhost>
* Add a new led driver for Keychron's keyboards. (#14872)lalalademaxiya12021-11-022-1/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add a new led driver for Keychron's keyboards. * Update ckled2001.c/ckled2001.h. * Update ckled2001.c/ckled2001.h. * Update ckled2001.c/ckled2001.h. * Update ckled2001.c * Add a new led driver * Update ckled2001.c * Update ckled2001.c * Update ckled2001.c * Update ckled2001.c * Delete ckled2001.c * Create ckled2001.c * Update ckled2001.c * Update chibios-contrib Co-authored-by: keychron-dev <85598583+keychron-dev@users.noreply.github.com> Co-authored-by: lokher <lokher@gmail.com>
* Add support for ISSI drivers on both sides of a split keyboard (#13842)Vlad K2021-11-0217-29/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Gets RGB working on a split keyboard with IS31FL3733. Currently needs small tweak to re-enable WS2812 * Added helper function * Trying to integrate the function * Moved functionality into a macro * Swapped conditional for a macro everywhere * Tidying up * More code cleanup * Documentation updates * Fixed formatting via linter * Switching to a function from a macro * Fixed compile error * Fixing WS2812 behavior. UNTESTED. * Updated documentation about the driver addresses. * Fixed code for WS2812 * Trying to add in LED_MATRIX support * Updated effects for LED matrix * Updated third-party effect defines. * Ran format-c on modified files * Apply suggestions from code review Co-authored-by: Ryan <fauxpark@gmail.com> * Move to static inline. Avoids issues with gcc v8+ * Move helper function for LED_matrix to static inline to avoid issues with gcc v8+ Co-authored-by: Vlad Kvitnevskiy <vladkvit@outlook.com> Co-authored-by: Ryan <fauxpark@gmail.com>
* Manually format develop (#15003)Joel Challis2021-11-011-19/+32
|
* Add Fractal RGB matrix effects (#12670)Albert Y2021-11-022-0/+62
| | | | | | | | | | | | | | | | | | | * Squashed fractal effect commit for easier rebase * Update documentation * Squashed fractal effect commit for easier rebase * Update documentation * Update doc spacing Co-authored-by: Ryan <fauxpark@gmail.com> * Update feature_rgb_matrix.md Co-authored-by: filterpaper <filterpaper@localhost> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
* Clean up LED/RGB Matrix driver config (#14760)Ryan2021-10-101-53/+74
|
* Put back eeconfig_update_ functions (#14751)Joel Challis2021-10-081-0/+2
|
* Reuse of EEPROM debounce logic (#14699)Joel Challis2021-10-071-22/+10
| | | | | | | | | * reuse rgb debounce logic * Refactor led matrix * Remove log line * timeout should not be hard coded
* [Bug] Fix IS31fl3741 driver to accept 1 or 2 addresses (#14451)Drashna Jaelre2021-09-151-1/+6
| | | Co-authored-by: Joel Challis <git@zvecr.com>
* [Bug] Fix RGB/LED Matrix Suspend code (#14084)Drashna Jaelre2021-08-201-2/+3
|
* Rgb matrix/enable modes explicitly (#13758)Drashna Jaelre2021-08-1830-30/+184
| | | | | | | | | | | * Change animations to require explicet activation * Add support for legacy config * Make default for now * Add LED Matrix support * change LED Matrix docs
* Align AW20216 driver (#13712)Joel Challis2021-07-271-2/+10
| | | | | | | | | | | | | | | | | * Align AW20216 driver * Update drivers/awinic/aw20216.h Co-authored-by: Ryan <fauxpark@gmail.com> * Review comments * formatting fixes * stop if start failed? * review comments Co-authored-by: Ryan <fauxpark@gmail.com>
* Revert "Add rgblight to RGB Matrix VPATH" (#13559)Ryan2021-07-171-1/+0
|