mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-27 18:25:05 +00:00
Move gesture to common directory, 1st step to be reused by other board. Cleanup motion_sense shutdown path. BUG=chrome-os-partner:33102 TEST=Double tap still works on Samus BRANCH=ToT Change-Id: I0a3b38c4a7dbe95c27dcdebff04c1176aaf932d1 Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/225235 Reviewed-by: Sheng-liang Song <ssl@chromium.org> Reviewed-by: Alec Berg <alecaberg@chromium.org>
20 lines
483 B
C
20 lines
483 B
C
/* Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
/* Header for gesture.c */
|
|
|
|
#ifndef __CROS_EC_GESTURE_H
|
|
#define __CROS_EC_GESTURE_H
|
|
|
|
/**
|
|
* Run gesture detection engine.
|
|
*/
|
|
void gesture_calc(void);
|
|
|
|
/* gesture hooks are triggered after the motion sense hooks. */
|
|
#define GESTURE_HOOK_PRIO (MOTION_SENSE_HOOK_PRIO + 10)
|
|
|
|
#endif /* __CROS_EC_GESTURE_H */
|