From b20e2e456e973b2fde758e40dca2834a4c5b8307 Mon Sep 17 00:00:00 2001 From: lalalademaxiya1 <2831039915@qq.com> Date: Wed, 19 Jan 2022 15:59:29 +0800 Subject: [PATCH] Update v1 and v4. --- keyboards/keychron/v1/v1_ansi_stm32l432_ec11/config.h | 2 +- .../keychron/v1/v1_ansi_stm32l432_ec11/keymaps/via/rules.mk | 2 +- keyboards/keychron/v4/readme.md | 4 ++-- keyboards/keychron/v4/test.c | 2 +- keyboards/keychron/v4/v4.h | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/keyboards/keychron/v1/v1_ansi_stm32l432_ec11/config.h b/keyboards/keychron/v1/v1_ansi_stm32l432_ec11/config.h index 7866f2e8cc..cd1e188a5e 100644 --- a/keyboards/keychron/v1/v1_ansi_stm32l432_ec11/config.h +++ b/keyboards/keychron/v1/v1_ansi_stm32l432_ec11/config.h @@ -18,7 +18,7 @@ /* USB Device descriptor parameter */ #define PRODUCT_ID 0x0311 -#define DEVICE_VER 0x0103 +#define DEVICE_VER 0x0100 /* RGB Matrix Configuration */ #define DRIVER_1_LED_TOTAL 45 diff --git a/keyboards/keychron/v1/v1_ansi_stm32l432_ec11/keymaps/via/rules.mk b/keyboards/keychron/v1/v1_ansi_stm32l432_ec11/keymaps/via/rules.mk index bee21da528..eb5b445ddf 100644 --- a/keyboards/keychron/v1/v1_ansi_stm32l432_ec11/keymaps/via/rules.mk +++ b/keyboards/keychron/v1/v1_ansi_stm32l432_ec11/keymaps/via/rules.mk @@ -1,2 +1,2 @@ VIA_ENABLE = yes -MOUSEKEY_ENABLE = no \ No newline at end of file +MOUSEKEY_ENABLE = yes diff --git a/keyboards/keychron/v4/readme.md b/keyboards/keychron/v4/readme.md index 17aac3ba85..df4eab16d0 100644 --- a/keyboards/keychron/v4/readme.md +++ b/keyboards/keychron/v4/readme.md @@ -8,11 +8,11 @@ A customizable 60% keyboard. Make example for this keyboard (after setting up your build environment): - make keychron/v4/V4_ANSI_STM32L432:default + make keychron/v4/v4_ansi_stm32l432:default Flashing example for this keyboard ([after setting up the bootloadHID flashing environment](https://docs.qmk.fm/#/flashing_bootloadhid)) - make keychron/q4/V4_ANSI_STM32L432:default:flash + make keychron/q4/v4_ansi_stm32l432:default:flash **Reset Key**: Hold down the key located at *K00*, commonly programmed as *Esc* while plugging in the keyboard. diff --git a/keyboards/keychron/v4/test.c b/keyboards/keychron/v4/test.c index 208be6dcc2..658c0aa29b 100644 --- a/keyboards/keychron/v4/test.c +++ b/keyboards/keychron/v4/test.c @@ -206,5 +206,5 @@ void clear_eeprom(void) { } void restart_usb_driver(USBDriver *usbp) { + // Do nothing here. } - diff --git a/keyboards/keychron/v4/v4.h b/keyboards/keychron/v4/v4.h index 65d6813dc4..ab01c3eb7f 100644 --- a/keyboards/keychron/v4/v4.h +++ b/keyboards/keychron/v4/v4.h @@ -18,6 +18,6 @@ #include "quantum.h" -#if defined(KEYBOARD_keychron_v4_V4_ANSI_STM32L432) -# include "V4_ANSI_STM32L432.h" +#if defined(KEYBOARD_keychron_v4_v4_ansi_stm32l432) +# include "v4_ansi_stm32l432.h" #endif