diff options
author | lalalademaxiya1 <2831039915@qq.com> | 2023-08-15 15:49:24 +0800 |
---|---|---|
committer | lalalademaxiya1 <2831039915@qq.com> | 2023-08-15 15:49:24 +0800 |
commit | 49a82abb206b347d7c3cddcf29baf6f873e18429 (patch) | |
tree | 819ff790b4713135c7c185611ff055dcc09c5818 | |
parent | 940411d2cb1702e2b3cb5e0e563d328da1005029 (diff) |
Update k1 pro iso version
-rwxr-xr-x | keyboards/keychron/k1_pro/iso/rgb/info.json | 2 | ||||
-rwxr-xr-x | keyboards/keychron/k1_pro/iso/white/info.json | 2 | ||||
-rw-r--r-- | 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(); +} |