summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/k6_pro
diff options
context:
space:
mode:
authorlokher <lokher@gmail.com>2022-12-14 15:46:29 +0800
committerlokher <lokher@gmail.com>2022-12-14 15:46:29 +0800
commit093ea22832cf9ab16715d93e77cc26418a60672f (patch)
tree28762f40db203622b5cae129d1c72993b0502b54 /keyboards/keychron/k6_pro
parenta336c2c5005251e4cb0f3a62ccabdb4cfccad915 (diff)
Add k2_pro; Change LED_MATRIX_VAL_STEP to 16; Fix incorrect payload len in ckbt51.c
Diffstat (limited to 'keyboards/keychron/k6_pro')
-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