From a0d162e03ae1301c64a04b04264b53d0787c1358 Mon Sep 17 00:00:00 2001 From: lokher Date: Thu, 12 Jan 2023 15:50:37 +0800 Subject: change battery voltage meause and battery low indication; update from latest chibios hal --- keyboards/keychron/k6_pro/iso/rgb/config.h | 1 + keyboards/keychron/k6_pro/iso/white/config.h | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'keyboards/keychron/k6_pro/iso') diff --git a/keyboards/keychron/k6_pro/iso/rgb/config.h b/keyboards/keychron/k6_pro/iso/rgb/config.h index 95df432e49..e36d9db175 100644 --- a/keyboards/keychron/k6_pro/iso/rgb/config.h +++ b/keyboards/keychron/k6_pro/iso/rgb/config.h @@ -33,6 +33,7 @@ # define DIM_CAPS_LOCK # define CAPS_LOCK_INDEX 30 +# define LOW_BAT_IND_INDEX 62 # ifdef VIA_ENABLE # define VIA_QMK_RGBLIGHT_ENABLE diff --git a/keyboards/keychron/k6_pro/iso/white/config.h b/keyboards/keychron/k6_pro/iso/white/config.h index 87868783a0..2898bce8d5 100644 --- a/keyboards/keychron/k6_pro/iso/white/config.h +++ b/keyboards/keychron/k6_pro/iso/white/config.h @@ -27,6 +27,10 @@ /* Turn off backlight on low brightness to save power */ # define LED_MATRIX_BRIGHTNESS_TURN_OFF_VAL 32 +# define DIM_CAPS_LOCK +# define CAPS_LOCK_INDEX 30 +# define LOW_BAT_IND_INDEX 62 + /* LED Matrix Animation modes. Explicitly enabled * For full list of effects, see: * https://docs.qmk.fm/#/feature_led_matrix?id=led-matrix-effects @@ -65,7 +69,4 @@ /* Set LED driver current */ # define CKLED2001_CURRENT_TUNE { 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60 } -# define DIM_CAPS_LOCK -# define CAPS_LOCK_INDEX 30 - #endif -- cgit v1.2.3