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-08-02 17:07:43 +01:00
2023-07-08 23:13:10 +10:00
2023-07-16 23:42:56 +10:00
2023-09-25 12:48:55 +10:00
2023-07-16 23:42:56 +10:00
2023-07-31 09:35:06 +10:00
2023-09-28 11:51:18 +01:00
2023-07-27 16:14:34 -07:00
2023-09-25 12:31:46 +10:00
2023-07-16 23:42:56 +10:00
2023-09-25 12:45:49 +10:00
2023-09-28 11:51:18 +01:00
2023-09-25 17:48:10 +01:00
2023-07-31 15:43:10 +01:00
2023-08-27 13:30:19 +10:00
2023-03-27 20:08:17 +01:00
2023-07-11 17:07:24 +10:00
2023-09-25 12:45:49 +10:00
2023-04-06 00:04:23 +01:00
2023-07-08 00:18:02 +10:00
2023-07-08 00:18:02 +10:00
2023-09-25 12:53:12 +10:00
2023-05-20 22:35:06 +10:00
2023-04-06 08:10:40 +10:00
2023-09-04 01:19:59 +01:00
2023-09-20 07:33:54 +01:00
2023-07-09 02:05:20 +01:00
2023-08-29 14:28:09 +01:00
2023-09-25 17:48:10 +01:00
2023-09-25 17:48:10 +01:00
2023-07-16 23:42:56 +10:00
2023-07-16 23:42:56 +10:00
2023-09-25 12:23:31 +10:00
2023-07-21 09:17:39 +10:00
2023-09-25 17:48:10 +01:00
2023-07-16 23:42:56 +10:00
2023-07-08 10:15:51 +10:00
2023-05-08 10:56:03 -07:00
2023-05-20 22:35:06 +10:00
2023-07-16 23:42:56 +10:00
2023-03-27 20:08:17 +01:00
2023-05-15 22:27:37 +10:00
2023-05-15 22:27:37 +10:00
2023-07-06 09:48:02 +01:00
2023-07-06 09:48:02 +01:00
2023-07-16 23:42:56 +10:00
2023-07-16 23:42:56 +10:00
2023-09-25 12:25:24 +10:00
2023-07-10 10:57:08 -07:00
2023-04-04 08:48:51 +10:00
2023-04-04 08:48:51 +10:00
2023-08-27 13:30:19 +10:00
2023-06-01 17:25:08 +01:00
2023-09-25 17:48:10 +01:00
2023-09-04 03:14:14 +01:00
2023-07-25 09:20:41 +10:00
2023-07-16 23:42:56 +10:00
2023-07-16 23:42:56 +10:00
2023-09-20 07:33:54 +01:00
2023-09-28 11:51:18 +01:00
2023-07-16 23:42:56 +10:00