qmk_firmware/quantum/rgb_matrix
Less/Rikki 346b06d391
refactor: move default RGB/LED matrix #defines (#21938)
* 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
..
animations Added flower blooming on RGB Matrix effect (#21948) 2023-09-25 12:58:45 +10:00
post_config.h Simplfy RGB/LED matrix effect logic (#21703) 2023-08-23 00:03:01 +01:00
rgb_matrix.c refactor: move default RGB/LED matrix #defines (#21938) 2023-09-28 11:51:18 +01:00
rgb_matrix.h refactor: move default RGB/LED matrix #defines (#21938) 2023-09-28 11:51:18 +01:00
rgb_matrix_drivers.c RGBLight/Backlight: add prefixed driver defines (#22089) 2023-09-21 15:50:01 +10:00
rgb_matrix_types.h Move PACKED define to util.h (#22074) 2023-09-20 07:33:54 +01:00