diff options
author | Drashna Jaelre <drashna@live.com> | 2023-05-31 11:44:06 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-31 11:44:06 -0700 |
commit | 3a3e5abac992712a8bb4e9b61430f5fc62dc6043 (patch) | |
tree | 832d14c0ca63e13ca1b97e2cbfe94d75d6bb89c7 /keyboards/handwired/tractyl_manuform/post_config.h | |
parent | 1411c79aefc989f5fae138b795f53f3b10863ec9 (diff) |
[Keymap] Drashna Keymap updates for 0.21.0 (#21073)
Diffstat (limited to 'keyboards/handwired/tractyl_manuform/post_config.h')
-rw-r--r-- | keyboards/handwired/tractyl_manuform/post_config.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/keyboards/handwired/tractyl_manuform/post_config.h b/keyboards/handwired/tractyl_manuform/post_config.h index c48518ddd3..b5d67132b2 100644 --- a/keyboards/handwired/tractyl_manuform/post_config.h +++ b/keyboards/handwired/tractyl_manuform/post_config.h @@ -94,3 +94,19 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #ifndef DEBOUNCE # define DEBOUNCE 5 #endif + +#if defined(RGBLIGHT_ENABLE) && !defined(RGBLIGHT_LIMIT_VAL) +# if defined(OLED_ENABLE) +# define RGBLIGHT_LIMIT_VAL 100 +# else +# define RGBLIGHT_LIMIT_VAL 150 +# endif +#endif + +#if !defined(OLED_BRIGHTNESS) +# if defined(RGBLIGHT_ENABLE) || defined(RGB_MATRIX_ENABLE) +# define OLED_BRIGHTNESS 80 +# else +# define OLED_BRIGHTNESS 150 +# endif +#endif |