summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/k6_pro/ansi
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keychron/k6_pro/ansi')
-rw-r--r--keyboards/keychron/k6_pro/ansi/rgb/config.h2
-rw-r--r--keyboards/keychron/k6_pro/ansi/white/config.h11
2 files changed, 9 insertions, 4 deletions
diff --git a/keyboards/keychron/k6_pro/ansi/rgb/config.h b/keyboards/keychron/k6_pro/ansi/rgb/config.h
index ca3a8cefd2..b3c4220b3b 100644
--- a/keyboards/keychron/k6_pro/ansi/rgb/config.h
+++ b/keyboards/keychron/k6_pro/ansi/rgb/config.h
@@ -14,6 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
+
#ifdef RGB_MATRIX_ENABLE
/* RGB Matrix driver configuration */
# define DRIVER_COUNT 2
diff --git a/keyboards/keychron/k6_pro/ansi/white/config.h b/keyboards/keychron/k6_pro/ansi/white/config.h
index d3b9f26b5f..c61f1ae780 100644
--- a/keyboards/keychron/k6_pro/ansi/white/config.h
+++ b/keyboards/keychron/k6_pro/ansi/white/config.h
@@ -14,11 +14,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#pragma once
+
#ifdef LED_MATRIX_ENABLE
/* LED matrix driver configuration */
# define DRIVER_COUNT 1
# define DRIVER_ADDR_1 0b1110100
-# define LED_MATRIX_LED_COUNT 68
+# define LED_MATRIX_LED_COUNT 84
/* Set to infinit, which is use in USB mode by default */
# define LED_MATRIX_TIMEOUT LED_MATRIX_TIMEOUT_INFINITE
@@ -27,6 +29,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 46
+
/* 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 +71,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