summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/q3_pro/ansi_encoder/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keychron/q3_pro/ansi_encoder/config.h')
-rwxr-xr-x[-rw-r--r--]keyboards/keychron/q3_pro/ansi_encoder/config.h35
1 files changed, 17 insertions, 18 deletions
diff --git a/keyboards/keychron/q3_pro/ansi_encoder/config.h b/keyboards/keychron/q3_pro/ansi_encoder/config.h
index c111b5c6c0..68a07e6437 100644..100755
--- a/keyboards/keychron/q3_pro/ansi_encoder/config.h
+++ b/keyboards/keychron/q3_pro/ansi_encoder/config.h
@@ -17,37 +17,36 @@
#pragma once
#ifdef RGB_MATRIX_ENABLE
-/* RGB Matrix driver configuration */
+/* RGB Matrix Driver Configuration */
# define DRIVER_COUNT 2
-
# define DRIVER_ADDR_1 0b1110111
# define DRIVER_ADDR_2 0b1110100
+
+/* RGB Matrix Configuration */
# define DRIVER_1_LED_COUNT 47
-# define DRIVER_2_LED_COUNT 44
+# define DRIVER_2_LED_COUNT 40
# define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_COUNT + DRIVER_2_LED_COUNT)
-/* Scan phase of led driver set as MSKPHASE_9CHANNEL(defined as 0x03 in CKLED2001.h) */
-# define PHASE_CHANNEL MSKPHASE_9CHANNEL
-
-/* Set LED driver current */
-# define CKLED2001_CURRENT_TUNE \
- { 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20 }
-
/* Set to infinit, which is use in USB mode by default */
# define RGB_MATRIX_TIMEOUT RGB_MATRIX_TIMEOUT_INFINITE
/* Allow shutdown of led driver to save power */
# define RGB_MATRIX_DRIVER_SHUTDOWN_ENABLE
+
/* Turn off backlight on low brightness to save power */
# define RGB_MATRIX_BRIGHTNESS_TURN_OFF_VAL 32
-# define LOW_BAT_IND_INDEX 83
+/* Indication led */
+# define CAPS_LOCK_INDEX 50
+# define LOW_BAT_IND_INDEX 79
-/* RGB Matrix Animation modes. Explicitly enabled
- * For full list of effects, see:
- * https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
- */
-
-# define RGB_MATRIX_KEYPRESSES
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
-#endif // RGB_MATRIX_ENABLE
+# define RGB_MATRIX_KEYPRESSES
+
+/* Use the first 9 channels of led driver */
+# define PHASE_CHANNEL MSKPHASE_9CHANNEL
+
+/* Set LED driver current */
+# define CKLED2001_CURRENT_TUNE \
+ { 0x28, 0x28, 0x28, 0x28, 0x28, 0x28, 0x28, 0x28, 0x28, 0x28, 0x28, 0x28 }
+#endif