~ruther/qmk_firmware

ref: 0032f293f1283cea497bf3e22d9909f23044a414 qmk_firmware/keyboards/newgame40/post_config.h -rw-r--r-- 378 bytes
0032f293 — Rutherther Move to 36 key layout possibility, custom shift keys 6 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