From 49a82abb206b347d7c3cddcf29baf6f873e18429 Mon Sep 17 00:00:00 2001 From: lalalademaxiya1 <2831039915@qq.com> Date: Tue, 15 Aug 2023 15:49:24 +0800 Subject: Update k1 pro iso version --- keyboards/keychron/k1_pro/iso/rgb/info.json | 2 +- keyboards/keychron/k1_pro/iso/white/info.json | 2 +- keyboards/keychron/k1_pro/k1_pro.c | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/keyboards/keychron/k1_pro/iso/rgb/info.json b/keyboards/keychron/k1_pro/iso/rgb/info.json index f25288fc2b..528089dc74 100755 --- a/keyboards/keychron/k1_pro/iso/rgb/info.json +++ b/keyboards/keychron/k1_pro/iso/rgb/info.json @@ -1,7 +1,7 @@ { "usb": { "pid": "0x0211", - "device_version": "1.0.1" + "device_version": "1.0.2" }, "features": { "rgb_matrix": true diff --git a/keyboards/keychron/k1_pro/iso/white/info.json b/keyboards/keychron/k1_pro/iso/white/info.json index 73a5808e6b..d04fde6f9b 100755 --- a/keyboards/keychron/k1_pro/iso/white/info.json +++ b/keyboards/keychron/k1_pro/iso/white/info.json @@ -1,7 +1,7 @@ { "usb": { "pid": "0x0214", - "device_version": "1.0.0" + "device_version": "1.0.1" }, "features": { "led_matrix": true diff --git a/keyboards/keychron/k1_pro/k1_pro.c b/keyboards/keychron/k1_pro/k1_pro.c index fede3e5b0b..e67642cb3a 100644 --- a/keyboards/keychron/k1_pro/k1_pro.c +++ b/keyboards/keychron/k1_pro/k1_pro.c @@ -317,3 +317,9 @@ void raw_hid_receive(uint8_t *data, uint8_t length) { } } #endif + +void suspend_wakeup_init_kb(void) { + // code will run on keyboard wakeup + clear_keyboard(); + send_keyboard_report(); +} -- cgit v1.2.3