summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlalalademaxiya1 <2831039915@qq.com>2023-06-10 11:15:42 +0800
committerlalalademaxiya1 <2831039915@qq.com>2023-06-10 11:15:42 +0800
commitb487b5be0a5035ed3645c83ed5b49bdc860a3889 (patch)
tree2c44f1b8a7f8bc4dd498eeca213bc7b2061b48af
parentb1a59b2e9214cff9fa036a21729c112c88408fab (diff)
Update k12 pro
-rwxr-xr-xkeyboards/keychron/k12_pro/ansi/rgb/rules.mk3
-rwxr-xr-xkeyboards/keychron/k12_pro/config.h6
-rwxr-xr-xkeyboards/keychron/k12_pro/k12_pro.h13
-rwxr-xr-xkeyboards/keychron/k12_pro/readme.md4
4 files changed, 12 insertions, 14 deletions
diff --git a/keyboards/keychron/k12_pro/ansi/rgb/rules.mk b/keyboards/keychron/k12_pro/ansi/rgb/rules.mk
index 7af34ccd60..6e7633bfe0 100755
--- a/keyboards/keychron/k12_pro/ansi/rgb/rules.mk
+++ b/keyboards/keychron/k12_pro/ansi/rgb/rules.mk
@@ -1,2 +1 @@
-RGB_MATRIX_ENABLE = yes
-RGB_MATRIX_DRIVER = CKLED2001
+# This file intentionally left blank
diff --git a/keyboards/keychron/k12_pro/config.h b/keyboards/keychron/k12_pro/config.h
index ee1d93d9a8..be20e88e12 100755
--- a/keyboards/keychron/k12_pro/config.h
+++ b/keyboards/keychron/k12_pro/config.h
@@ -20,12 +20,8 @@
#define RGB_DISABLE_WHEN_USB_SUSPENDED
#define LED_DISABLE_WHEN_USB_SUSPENDED
-/* Set 0 if debouncing isn't needed */
-#define DEBOUNCE 5
-
/* DIP switch for Mac/win OS switch */
-#define DIP_SWITCH_PINS \
- { A8 }
+#define DIP_SWITCH_PINS { A8 }
/* Caps lock LED Pin */
#define LED_CAPS_LOCK_PIN A0
diff --git a/keyboards/keychron/k12_pro/k12_pro.h b/keyboards/keychron/k12_pro/k12_pro.h
index d229b15380..cd0954d579 100755
--- a/keyboards/keychron/k12_pro/k12_pro.h
+++ b/keyboards/keychron/k12_pro/k12_pro.h
@@ -24,7 +24,7 @@
#define ___ KC_NO
#ifdef VIA_ENABLE
-# define USER_START USER00
+# define USER_START QK_KB_0
#else
# define USER_START SAFE_RANGE
#endif
@@ -35,8 +35,6 @@ enum {
KC_ROPTN,
KC_LCMMD,
KC_RCMMD,
- KC_MCTL,
- KC_LNPD,
KC_TASK,
KC_FILE,
KC_SNAP,
@@ -46,7 +44,12 @@ enum {
BT_HST1,
BT_HST2,
BT_HST3,
-#endif
BAT_LVL,
- NEW_SAFE_RANGE,
+#else
+ BT_HST1 = KC_TRNS,
+ BT_HST2 = KC_TRNS,
+ BT_HST3 = KC_TRNS,
+ BAT_LVL = KC_TRNS,
+#endif
+ NEW_SAFE_RANGE
};
diff --git a/keyboards/keychron/k12_pro/readme.md b/keyboards/keychron/k12_pro/readme.md
index 5becacaf56..34cc89c63d 100755
--- a/keyboards/keychron/k12_pro/readme.md
+++ b/keyboards/keychron/k12_pro/readme.md
@@ -1,12 +1,12 @@
# Keychron K12 Pro
-![Keychron K6 Pro]()
+![Keychron K12 Pro](https://i.imgur.com/1nFRfJs.jpg)
A customizable 60% keyboard.
* Keyboard Maintainer: [Keychron](https://github.com/keychron)
* Hardware Supported: Keychron K12 Pro
-* Hardware Availability:
+* Hardware Availability: [Keychron K12 Pro QMK/VIA Wireless Mechanical Keyboard](<https://www.keychron.com/products/keychron-k12-pro-qmk-via-wireless-mechanical-keyboard>)
Make example for this keyboard (after setting up your build environment):