mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 10:45:22 +00:00
Adds double tap detection for samus. When user double taps in S3 or lower to show battery state of charge on lightbar. BUG=chrome-os-partner:29041 BRANCH=samus TEST=make buildall Tap the lid in S3 or lower. Change-Id: Ic5f4709bdee2472cb7e91717318337b04bae1fc8 Signed-off-by: Alec Berg <alecaberg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/221965 Reviewed-by: David Schneider <dnschneid@chromium.org>
32 lines
629 B
C
32 lines
629 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 hook to call on chipset resume.
|
|
*/
|
|
void gesture_chipset_resume(void);
|
|
|
|
/**
|
|
* Gesture hook to call on chipset suspend.
|
|
*/
|
|
void gesture_chipset_suspend(void);
|
|
|
|
/**
|
|
* Gesture hook to call on chipset shutdown.
|
|
*/
|
|
void gesture_chipset_shutdown(void);
|
|
|
|
#endif /* __CROS_EC_GESTURE_H */
|