diff options
author | Less/Rikki <[email protected]> | 2023-09-28 06:51:18 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2023-09-28 11:51:18 +0100 |
commit | 346b06d391dbc760d753a5cffcbbcb58ecc9ce95 (patch) | |
tree | 3c87de30a731a90ee3594f421d4dd54e076d2819 /keyboards/kbdfans/kbd67/mkiirgb/v3/info.json | |
parent | f4677c866e1b4456e1e4bb72265a7d4326eb4816 (diff) | |
download | qmk_firmware-346b06d391dbc760d753a5cffcbbcb58ecc9ce95.tar.gz qmk_firmware-346b06d391dbc760d753a5cffcbbcb58ecc9ce95.zip |
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 <[email protected]>
* refactor: remove INDICATOR_MAX_BRIGHTNESS macro
Co-authored-by: Joel Challis <[email protected]>
---------
Co-authored-by: Joel Challis <[email protected]>
Diffstat (limited to 'keyboards/kbdfans/kbd67/mkiirgb/v3/info.json')
-rw-r--r-- | keyboards/kbdfans/kbd67/mkiirgb/v3/info.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/kbdfans/kbd67/mkiirgb/v3/info.json b/keyboards/kbdfans/kbd67/mkiirgb/v3/info.json index 165db96293..284461c2a7 100644 --- a/keyboards/kbdfans/kbd67/mkiirgb/v3/info.json +++ b/keyboards/kbdfans/kbd67/mkiirgb/v3/info.json @@ -5,7 +5,8 @@ "device_version": "0.0.3" }, "rgb_matrix": { - "driver": "is31fl3741" + "driver": "is31fl3741", + "val_steps": 8 }, "matrix_pins": { "cols": ["F7", "F6", "F5", "C7", "B0", "B1", "B2", "B3", "B4", "D7", "D6", "D4", "D5", "D3", "D2"], |