aboutsummaryrefslogtreecommitdiff
path: root/quantum/rgb_matrix/rgb_matrix.h
Commit message (Collapse)AuthorAgeFilesLines
* Expose rgb_matrix_update_pwm_buffers to be available in keymaps (#24573)Eric N. Vander Weele2024-11-071-0/+1
| | | | | | | | | | | | * Expose rgb_matrix_update_pwm_buffers to be available in keymaps Exposing this API enables the examples in the keyboard shutdown/reboot documentation to compile instead of calling `rgb_matrix_driver.flush` directly. * Remove extraneous rgb_matrix_update_pwm_buffers prototype declarations Now that `rgb_matrix_update_pwm_buffers` is public, there isn't the need for local prototype declarations.
* Rename RGB and HSV structs (#24471)Ryan2024-10-121-1/+1
|
* WS2812 API rework (#24364)Ryan2024-10-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 `process_{led,rgb}_matrix()` (#23422)Ryan2024-04-051-1/+1
|
* Add missing rgb matrix default parameters (#22281)Fabien Fellay2024-01-301-0/+4
|
* LED/RGB Matrix: add header for drivers (#22628)Ryan2023-12-081-35/+1
|
* RGB/LED matrix use limits size optimisation (#22325)Dasky2023-10-251-29/+13
|
* Fix compilation error when led/rgb process limit is zero. (#22328)Dasky2023-10-241-1/+0
| | | | Co-authored-by: Drashna Jaelre <drashna@live.com>
* Rename CKLED2001 driver to SNLED27351 (#22071)Ryan2023-10-041-2/+2
|
* Add _DEFAULT_ON lighting configuration options (#21865)Joel Challis2023-09-291-0/+4
|
* refactor: move default RGB/LED matrix #defines (#21938)Less/Rikki2023-09-281-0/+49
| | | | | | | | | | | | | | | | | | | | | | * 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>
* LED/RGB Matrix: prefix driver defines (#22088)Ryan2023-09-211-9/+9
|
* Complete RGB Matrix support for IS31FL3218 (#22004)Ryan2023-09-171-1/+3
|
* aw20216: driver naming cleanups (#21891)Ryan2023-09-131-2/+2
|
* quantum: remove direct `quantum.h` includes (#21507)Ryan2023-07-161-1/+1
|
* [Core] RGB Matrix limit basic indicators to the last render (#21169)Xelus222023-07-021-1/+2
| | | | Co-authored-by: Joel Challis <git@zvecr.com>
* [Core] Clean up ISSI drivers, Add IS31FL3736 support (#20572)Xelus222023-04-301-0/+2
| | | | Co-authored-by: Pablo Martínez <58857054+elpekenin@users.noreply.github.com>
* Fixed split keyboard issue where custom LED indicators could activate ↵CobraSock2023-04-041-8/+10
| | | | | | | 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)
* Fix rgb_matrix_set_flags_noeeprom declaration (#18860)Joel Challis2022-10-271-1/+1
|
* 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-041-4/+4
| | | | Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
* Change `DRIVER_LED_COUNT` to `{LED,RGB}_MATRIX_LED_COUNT` (#18399)Ryan2022-09-231-8/+8
|
* Update LED/RGB Matrix flag function behavior (#17651)Drashna Jaelre2022-07-121-0/+1
|
* Add RGB matrix & LED Matrix support for IS31FL3742A, IS31FL3743A, ↵MasterSpoon2022-02-061-0/+2
| | | | | IS31FL3745, IS31FL3746A (#14989) Co-authored-by: Xelus22 <17491233+Xelus22@users.noreply.github.com>
* RGB Matrix: Reload from EEPROM (#15923)Adam Lickel2022-02-041-0/+3
| | | Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
* Require explicit enabling of RGB Matrix modes (#15018)Drashna Jaelre2021-11-151-1/+0
|
* Add a new led driver for Keychron's keyboards. (#14872)lalalademaxiya12021-11-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-021-7/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Rgb matrix/enable modes explicitly (#13758)Drashna Jaelre2021-08-181-0/+1
| | | | | | | | | | | * Change animations to require explicet activation * Add support for legacy config * Make default for now * Add LED Matrix support * change LED Matrix docs
* Revert "Add rgblight to RGB Matrix VPATH" (#13559)Ryan2021-07-171-1/+0
|
* Move LED/RGB Matrix code into their own directories (#13257)Ryan2021-06-221-0/+228