~ruther/qmk_firmware

ref: 2e0498080f79c0d79bfa4ae91405d6cf0c3d959b qmk_firmware/keyboards/newgame40/post_config.h -rw-r--r-- 378 bytes
2e049808 — James Young Migrate `LOCKING_*_ENABLE` to Data-Driven: K, Part 2 (#23769) 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#ifndef IOS_DEVICE_ENABLE
#    if RGBLIGHT_LED_COUNT <= 6
#        define RGBLIGHT_LIMIT_VAL 255
#    else
#        define RGBLIGHT_LIMIT_VAL 130
#    endif
#    define RGBLIGHT_VAL_STEP 17
#else
#    if RGBLIGHT_LED_COUNT <= 6
#        define RGBLIGHT_LIMIT_VAL 90
#    else
#        define RGBLIGHT_LIMIT_VAL 45
#    endif
#    define RGBLIGHT_VAL_STEP 4
#endif
Do not follow this link