mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 00:51:29 +00:00
common: motion: Add double tap gesture host interface
Allow the host to enable/disable double tap. Send event when double tap is present. Also fix a bug when scanning for gestures. BRANCH=smaug BUG=chrome-os-partner:44754 TEST=compile. Check on Ryu. Change-Id: I50d008cd3823072ab1c1e2d21f1276cd2185d797 Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/298683
This commit is contained in:
committed by
chrome-bot
parent
6f06cd5f7b
commit
4e8120a364
@@ -1788,6 +1788,7 @@ struct ec_response_motion_sense_fifo_data {
|
||||
enum motionsensor_activity {
|
||||
MOTIONSENSE_ACTIVITY_RESERVED = 0,
|
||||
MOTIONSENSE_ACTIVITY_SIG_MOTION = 1,
|
||||
MOTIONSENSE_ACTIVITY_DOUBLE_TAP = 2,
|
||||
};
|
||||
|
||||
struct ec_motion_sense_activity {
|
||||
|
||||
Reference in New Issue
Block a user