0
0
mirror of https://github.com/qmk/qmk_firmware.git synced 2024-12-03 16:35:10 +00:00
Commit Graph

31 Commits

Author SHA1 Message Date
Ryan
a9ba83c7be
Remove useless LED/RGB_MATRIX_ENABLE ifdefs () 2024-05-16 12:52:15 +01:00
Ryan
9fa91ad494
Rename process_{led,rgb}_matrix() () 2024-04-05 15:43:52 +01:00
Fabien Fellay
734c7afa7d
Add missing rgb matrix default parameters () 2024-01-30 14:56:32 +11:00
Ryan
73758d3d3a
Rename LED_DISABLE_WHEN_USB_SUSPENDED -> LED_MATRIX_SLEEP () 2023-12-20 13:31:39 +11:00
Joel Challis
dc5befd139
Remove redundant RGB/LED matrix eeconfig init () 2023-12-16 15:43:39 +00:00
Pete Neisen
7cc90c234f
Converted RGB matrix to use last_input_activity_elapsed(). ()
Co-authored-by: Nick Brassel <nick@tzarc.org>
2023-11-30 09:38:06 +11:00
Dasky
f293658147
RGB/LED matrix use limits size optimisation () 2023-10-25 22:06:51 +01:00
Dasky
7e0147f8e6
Fix compilation error when led/rgb process limit is zero. ()
Co-authored-by: Drashna Jaelre <drashna@live.com>
2023-10-24 13:45:33 +01:00
QMK Bot
c245ee4cd3 Merge remote-tracking branch 'origin/master' into develop 2023-10-23 23:00:51 +00:00
Dasky
ca45416999
Remove extra led_matrix_indicators_user call () 2023-10-24 00:00:16 +01:00
Joel Challis
6910ed2de5
Add _DEFAULT_ON lighting configuration options () 2023-09-29 18:31:21 +01:00
Less/Rikki
346b06d391
refactor: move default RGB/LED matrix #defines ()
* 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-28 11:51:18 +01:00
Ryan
da2d2f947d
quantum: remove direct quantum.h includes () 2023-07-16 23:42:56 +10:00
Xelus22
c4f66e5d6e
[Core] RGB Matrix limit basic indicators to the last render ()
Co-authored-by: Joel Challis <git@zvecr.com>
2023-07-02 15:56:48 -07:00
jack
9c6942ea40
Remove config.h include from quantum files () 2023-02-12 02:40:16 +00:00
Ryan
a5a20cc792
Change LED_MATRIX_STARTUP_* defines to LED_MATRIX_DEFAULT_* () 2022-11-27 03:14:35 +11:00
Drashna Jaelre
64b1ed4550
Fix Per Key LED Indicator Callbacks ()
Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
Co-authored-by: Nick Brassel <nick@tzarc.org>
2022-10-04 15:24:22 -07:00
Ryan
ea2819b2c2
Change {LED,RGB}_DISABLE_TIMEOUT to {LED,RGB}_MATRIX_TIMEOUT () 2022-09-26 14:40:15 +10:00
Ryan
36c410592d
Change DRIVER_LED_COUNT to {LED,RGB}_MATRIX_LED_COUNT () 2022-09-23 22:46:23 +10:00
Drashna Jaelre
09e4001bba
[Bug] Fix compile issue with LED Matrix () 2022-07-13 01:10:51 -07:00
Drashna Jaelre
1dfe2bb49a
Update LED/RGB Matrix flag function behavior () 2022-07-12 22:18:02 -07:00
QMK Bot
63646e8906
Format code according to conventions () 2022-02-12 18:29:31 +00:00
Drashna Jaelre
160b0558f5
Require explicit enabling of RGB Matrix modes () 2021-11-15 10:41:04 -08:00
Vlad K
a29ca1e7f1
Add support for ISSI drivers on both sides of a split keyboard ()
* 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>
2021-11-02 09:04:37 +11:00
Joel Challis
00fd404433
Put back eeconfig_update_ functions () 2021-10-08 13:44:07 +01:00
Joel Challis
60297a1099
Reuse of EEPROM debounce logic ()
* reuse rgb debounce logic

* Refactor led matrix

* Remove log line

* timeout should not be hard coded
2021-10-07 01:47:14 +01:00
Ryan
a7d48b063e
Fix LED Matrix suspend code () 2021-08-20 10:43:49 -07:00
Drashna Jaelre
92fa07336c
[Bug] Fix RGB/LED Matrix Suspend code () 2021-08-20 06:14:42 -07:00
Joakim Tufvegren
1414e9736d
Switch Ergodox Infinity over to split_common () 2021-07-19 18:54:32 -07:00
Johannes Choo
10d7eca5af
Fix LED Hit Counter for LED/RGB Matrix () 2021-07-16 09:37:18 -07:00
Ryan
d61e5c0027
Move LED/RGB Matrix code into their own directories () 2021-06-22 18:26:23 +10:00