summaryrefslogtreecommitdiff
path: root/include/keyboard_protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/keyboard_protocol.h')
-rw-r--r--include/keyboard_protocol.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/keyboard_protocol.h b/include/keyboard_protocol.h
index a8eafe308d..2b47ef7e32 100644
--- a/include/keyboard_protocol.h
+++ b/include/keyboard_protocol.h
@@ -49,4 +49,9 @@ static inline void keyboard_state_changed(int row, int col, int is_pressed) {}
void keyboard_state_changed(int row, int col, int is_pressed);
#endif
+/**
+ * Returns true if keyboard backlight is present/detected.
+ */
+int board_has_keyboard_backlight(void);
+
#endif /* __CROS_EC_KEYBOARD_PROTOCOL_H */