qmk_userspace/keyboards/teleport
Less/Rikki 9d76cda686 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
..
native refactor: move default RGB/LED matrix #defines (#21938) 2023-09-28 11:51:18 +01:00
numpad/keymaps/via Remove legacy keycodes, part 5 (#18710) 2022-10-15 22:29:43 +01:00
tkl/keymaps/via [Keyboard] Add Teleport TKL (#20469) 2023-05-13 08:32:39 +01:00