Update k12 pro

This commit is contained in:
lalalademaxiya1 2023-06-10 11:15:42 +08:00
parent b1a59b2e92
commit b487b5be0a
4 changed files with 12 additions and 14 deletions

View file

@ -1,2 +1 @@
RGB_MATRIX_ENABLE = yes
RGB_MATRIX_DRIVER = CKLED2001
# This file intentionally left blank

View file

@ -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

View file

@ -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
};

View file

@ -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):