~ruther/qmk_firmware

ref: c0dbe9a33662a651fb91afb2e4810bae3f6a825e qmk_firmware/keyboards/jian/rev1/post_config.h -rw-r--r-- 377 bytes
c0dbe9a3 — Drashna Jaelre Add utility functions for Pointing Device Auto Mouse feature (#23144) 1 year, 8 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 8
#else
#    if RGBLIGHT_LED_COUNT <= 6
#        define RGBLIGHT_LIMIT_VAL 90
#    else
#        define RGBLIGHT_LIMIT_VAL 45
#    endif
#    define RGBLIGHT_VAL_STEP 4
#endif