summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/keyboard_scan.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/keyboard_scan.h b/include/keyboard_scan.h
index 6ba01f9d0e..895fdfd2b8 100644
--- a/include/keyboard_scan.h
+++ b/include/keyboard_scan.h
@@ -31,4 +31,7 @@ int keyboard_scan_recovery_pressed(void);
*/
int keyboard_get_scan(uint8_t **buffp, int max_bytes);
+/* clear any saved keyboard state (empty FIFO, etc) */
+void keyboard_clear_state(void);
+
#endif /* __CROS_KEYBOARD_SCAN_H */