diff options
Diffstat (limited to 'include/lid_angle.h')
-rw-r--r-- | include/lid_angle.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/lid_angle.h b/include/lid_angle.h index bd60b90907..cd13265c93 100644 --- a/include/lid_angle.h +++ b/include/lid_angle.h @@ -17,4 +17,12 @@ */ void lidangle_keyscan_update(float lid_ang); +/** + * Getter and setter methods for the keyboard wake angle. In S3, when the + * lid angle is greater than this value, the keyboard is disabled, and when + * the lid angle is smaller than this value, the keyboard is enabled. + */ +int lid_angle_get_kb_wake_angle(void); +void lid_angle_set_kb_wake_angle(int ang); + #endif /* __CROS_EC_LID_ANGLE_H */ |