summaryrefslogtreecommitdiff
path: root/include/linux/m4sensorhub/MemMapGesture.h
blob: 9480a42ae1130b1955fd3bd2f1c5508b7e5e7085 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*********************************************************************
*
*   Copyright (C) 2012 Motorola, Inc.
*
**********************************************************************

File    : MemMapGesture.h
Purpose :
**********************************************************************/
#ifndef __MEMMAP_GESTURE_H__
#define __MEMMAP_GESTURE_H__
/********************************** Defines **************************/
typedef struct memMapGesture {
  u8 version;
  u8 gesture1;
  u8 confidence1;
  s8 value1;
  u8 gesture2;
  u8 confidence2;
  s8 value2;
  u8 gesture3;
  u8 confidence3;
  s8 value3;
} sGestureData;

typedef enum  {
  GESTURE_NONE,
  GESTURE_VIEW,
  GESTURE_WRIST_ROTATE,
  GESTURE_TAP,
  GESTURE_HANDSHAKE,
  GESTURE_HANDWAVE,
  GESTURE_FISTBUMP,
  GESTURE_WATCH_ON,
  GESTURE_WATCH_OFF,
  GESTURE_TILT_SCROLL,
  GESTURE_MAX
} eGestureType;

/********************************** Globals **************************/

/********************************** Prototypes ***********************/



#endif /* __MEMMAP_GESTURE_H__ */