diff options
author | lalalademaxiya1 <2831039915@qq.com> | 2023-10-16 10:57:35 +0800 |
---|---|---|
committer | lalalademaxiya1 <2831039915@qq.com> | 2023-10-16 10:57:35 +0800 |
commit | 39503982d15af018f55b536f3d2671ae58e58df3 (patch) | |
tree | a5d9f8a9708a4c0fdc9f06dd9b2faf63f49b9cec /keyboards/keychron/k1_pro | |
parent | 156b2cf426f960cf4c6de0818dc5999f5d68903c (diff) | |
parent | 00af20f690b66b11c3c00826b5193a306b611ec4 (diff) |
Merge branch 'temp' into keychron_k5_pro
Diffstat (limited to 'keyboards/keychron/k1_pro')
-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(); +} |