qmk_firmware/keyboards/teleport/native/ansi
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
..
keymaps refactor: move default RGB/LED matrix #defines (#21938) 2023-09-28 11:51:18 +01:00
ansi.c Clean up usage of QMK_KEYBOARD_H (#20167) 2023-03-20 08:12:05 +11:00
info.json More info.json whitespace cleanups (#20665) 2023-05-03 12:19:34 +10:00
rules.mk Add Anvil Native keyboard (#19333) 2022-12-21 21:03:50 +11:00