summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/k1_pro/k1_pro.c
diff options
context:
space:
mode:
authorlalalademaxiya1 <2831039915@qq.com>2023-10-16 10:57:35 +0800
committerlalalademaxiya1 <2831039915@qq.com>2023-10-16 10:57:35 +0800
commit39503982d15af018f55b536f3d2671ae58e58df3 (patch)
treea5d9f8a9708a4c0fdc9f06dd9b2faf63f49b9cec /keyboards/keychron/k1_pro/k1_pro.c
parent156b2cf426f960cf4c6de0818dc5999f5d68903c (diff)
parent00af20f690b66b11c3c00826b5193a306b611ec4 (diff)
Merge branch 'temp' into keychron_k5_pro
Diffstat (limited to 'keyboards/keychron/k1_pro/k1_pro.c')
-rw-r--r--keyboards/keychron/k1_pro/k1_pro.c6
1 files changed, 6 insertions, 0 deletions
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();
+}