aboutsummaryrefslogtreecommitdiff
path: root/quantum/rgb_matrix/rgb_matrix.c
Commit message (Collapse)AuthorAgeFilesLines
* Add `{rgb|led}_matrix_get_mode_name()`. (#25344)Nick Brassel2025-06-071-1/+55
|
* Enable community modules to define LED matrix and RGB matrix effects. (#25187)Pascal Getreuer2025-05-121-0/+12
| | | | Co-authored-by: Joel Challis <[email protected]>
* Add additional hooks for Community modules (#25050)Drashna Jaelre2025-05-051-0/+10
|
* Allow for disabling EEPROM subsystem entirely. (#25173)Nick Brassel2025-04-191-1/+0
|
* Non-volatile memory data repository pattern (#24356)Nick Brassel2025-03-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Rename RGB and HSV structs (#24471)Ryan2024-10-121-3/+3
|
* WS2812 API rework (#24364)Ryan2024-10-061-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 <[email protected]> --------- Co-authored-by: Dasky <[email protected]>
* Reinstate global `k_rgb_matrix_split` (#24388)Ryan2024-09-151-4/+7
|
* Remove global k_rgb_matrix_split (#24348)Thomas Weißschuh2024-08-311-5/+0
| | | All users have their own local definition.
* Remove useless `LED/RGB_MATRIX_ENABLE` ifdefs (#23726)Ryan2024-05-161-2/+2
|
* Rename `process_{led,rgb}_matrix()` (#23422)Ryan2024-04-051-1/+1
|
* Add missing rgb matrix default parameters (#22281)Fabien Fellay2024-01-301-1/+1
|
* Rename `RGB_DISABLE_WHEN_USB_SUSPENDED` -> `RGB_MATRIX_SLEEP` (#22682)Ryan2023-12-201-1/+1
|
* Remove redundant RGB/LED matrix eeconfig init (#22673)Joel Challis2023-12-161-6/+0
|
* Converted RGB matrix to use last_input_activity_elapsed(). (#21687)Pete Neisen2023-11-301-16/+3
| | | | Co-authored-by: Nick Brassel <[email protected]>
* RGB/LED matrix use limits size optimisation (#22325)Dasky2023-10-251-0/+30
|
* Fix compilation error when led/rgb process limit is zero. (#22328)Dasky2023-10-241-2/+1
| | | | Co-authored-by: Drashna Jaelre <[email protected]>
* Add _DEFAULT_ON lighting configuration options (#21865)Joel Challis2023-09-291-1/+1
|
* refactor: move default RGB/LED matrix #defines (#21938)Less/Rikki2023-09-281-51/+1
| | | | | | | | | | | | | | | | | | | | | | * 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 <[email protected]> * refactor: remove INDICATOR_MAX_BRIGHTNESS macro Co-authored-by: Joel Challis <[email protected]> --------- Co-authored-by: Joel Challis <[email protected]>
* quantum: remove direct `quantum.h` includes (#21507)Ryan2023-07-161-0/+5
|
* [Core] RGB Matrix limit basic indicators to the last render (#21169)Xelus222023-07-021-1/+4
| | | | Co-authored-by: Joel Challis <[email protected]>
* Fixed split keyboard issue where custom LED indicators could activate ↵CobraSock2023-04-041-8/+1
| | | | | | | incorrect LEDs (#20203) (#20204) Co-authored-by: N M <[email protected]> Fixed split keyboard issue where custom LED indicators could activate incorrect LEDs (#20203)
* Remove `config.h` include from quantum files (#19817)jack2023-02-121-1/+0
|
* Change `RGB_MATRIX_STARTUP_*` defines to `RGB_MATRIX_DEFAULT_*` (#19079)Ryan2022-11-271-14/+14
|
* Fix Per Key LED Indicator Callbacks (#18450)Drashna Jaelre2022-10-041-6/+12
| | | | Co-authored-by: Dasky <[email protected]> Co-authored-by: Nick Brassel <[email protected]>
* 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-231-4/+4
|
* Update LED/RGB Matrix flag function behavior (#17651)Drashna Jaelre2022-07-121-1/+11
|
* Fix RGB heatmap to use XY positions and use correct led limits (#17184)Dasky2022-06-211-2/+9
| | | | | | | | | | | | | | | * 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
* Format code according to conventions (#16322)QMK Bot2022-02-121-73/+176
|
* RGB Matrix: Reload from EEPROM (#15923)Adam Lickel2022-02-041-0/+10
| | | Co-authored-by: Sergey Vlasov <[email protected]>
* fix RGB_DISABLE_TIMEOUT flicker on split keyboards (#14954)0.15.11Erik Berthold2021-12-271-6/+2
|
* Add support for ISSI drivers on both sides of a split keyboard (#13842)Vlad K2021-11-021-8/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 <[email protected]> * 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 <[email protected]> Co-authored-by: Ryan <[email protected]>
* 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 RGB/LED Matrix Suspend code (#14084)Drashna Jaelre2021-08-201-2/+3
|
* Rgb matrix/enable modes explicitly (#13758)Drashna Jaelre2021-08-181-3/+3
| | | | | | | | | | | * Change animations to require explicet activation * Add support for legacy config * Make default for now * Add LED Matrix support * change LED Matrix docs
* Fix LED Hit Counter for LED/RGB Matrix (#12674)Johannes Choo2021-07-161-1/+1
|
* Move LED/RGB Matrix code into their own directories (#13257)Ryan2021-06-221-0/+640