diff options
Diffstat (limited to 'include/keyboard_scan.h')
-rw-r--r-- | include/keyboard_scan.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/keyboard_scan.h b/include/keyboard_scan.h index bc956cc685..8359cbd174 100644 --- a/include/keyboard_scan.h +++ b/include/keyboard_scan.h @@ -84,6 +84,11 @@ void keyboard_scan_enable(int enable); static inline void keyboard_scan_enable(int enable) { } #endif +/** + * Returns if keyboard matrix scanning is enabled/disabled. + */ +int keyboard_scan_is_enabled(void); + #ifdef CONFIG_KEYBOARD_SUPPRESS_NOISE /** * Indicate to audio codec that a key has been pressed. |