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
..
2023-09-04 01:19:59 +01:00
2023-09-20 23:01:55 -07:00

KBDFans

KBDfans is a keyboard retailer located in China.

Online Stores

Website: https://kbdfans.cn/
AliExpress: https://kbdfans.aliexpress.com/
eBay: https://www.ebay.com/str/KBDfans/
Taobao: https://yikewaishe.taobao.com/

Social Media

Discord: https://discord.gg/HMZKDhn
Facebook: https://www.facebook.com/KBDfanskeyboard/
Instagram: https://www.instagram.com/kbdfans.cn/