summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/k1_pro/k1_pro.c
diff options
context:
space:
mode:
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();
+}