diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2015-09-01 15:25:01 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-09-18 17:55:32 -0700 |
commit | bde89ebc203d9d15ede2cefb3eea8511d1fc3b65 (patch) | |
tree | e6b039f3f45ace4086e3f9ed99b0344a3437a7f1 /include/gesture.h | |
parent | 3788806149da2732b00e31316c7996b96ad60e01 (diff) | |
download | chrome-ec-bde89ebc203d9d15ede2cefb3eea8511d1fc3b65.tar.gz |
common: motion: move gesture actions in motion task.
Change the IRQ interface to allow adding events.
Move code to send the lightbar sequence from gesture.c to motion task.
TEST=compile, works on Ryu.
BRANCH=smaug
BUG=chrome-os-partner:44754
Change-Id: I981ea123ebef0e8e3d6aa320eade89f10e83b6fc
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/296822
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'include/gesture.h')
-rw-r--r-- | include/gesture.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gesture.h b/include/gesture.h index d98dc8cdf8..d480794758 100644 --- a/include/gesture.h +++ b/include/gesture.h @@ -9,9 +9,9 @@ #define __CROS_EC_GESTURE_H /** - * Run gesture detection engine. + * Run gesture detection engine. Modify the event flag when gestures are found. */ -void gesture_calc(void); +void gesture_calc(uint32_t *event); /* gesture hooks are triggered after the motion sense hooks. */ #define GESTURE_HOOK_PRIO (MOTION_SENSE_HOOK_PRIO + 10) |