summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2015-09-08 09:56:44 -0700
committerchrome-bot <chrome-bot@chromium.org>2015-09-21 01:13:55 -0700
commit4e8120a3641d5ed8de5a53e08f2bb711e5516167 (patch)
tree36f8f168c954b070c4044c75d2ac690c6f027f09 /include
parent6f06cd5f7b78e4624618d67bf0142015c4d51298 (diff)
downloadchrome-ec-4e8120a3641d5ed8de5a53e08f2bb711e5516167.tar.gz
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
Diffstat (limited to 'include')
-rw-r--r--include/ec_commands.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h
index 3dd3e7c93a..ddf47d4fc7 100644
--- a/include/ec_commands.h
+++ b/include/ec_commands.h
@@ -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 {