image/svg+xml
Brteve's API for EveApps
Version 0.0.1
The reference document for common folder of EveApps project.
Loading...
Searching...
No Matches
Gesture.h
Go to the documentation of this file.
1
32
#ifndef GESTURE_H_
33
#define GESTURE_H_
34
35
#include "
EVE_CoCmd.h
"
36
37
typedef
struct
Gesture_Touch
{
38
uint32_t
tagTrackTouched
;
39
uint32_t
tagPressed
;
40
uint32_t
tagReleased
;
41
uint32_t
trackValLine
;
42
uint32_t
trackValCircle
;
43
uint8_t
isTouch
;
44
uint8_t
isSwipe
;
45
uint16_t
touchX
;
46
uint16_t
touchY
;
47
int
velocityX
;
48
}
Gesture_Touch_t
;
49
50
uint8_t
Gesture_GetTag
(
EVE_HalContext
*phost);
51
Gesture_Touch_t
*
Gesture_Renew
(
EVE_HalContext
*phost);
52
Gesture_Touch_t
*
Gesture_Get
();
53
54
#endif
/* GESTURE_H_ */
EVE_CoCmd.h
EVE's co-processor commmands.
uint16_t
unsigned short uint16_t
Definition
EVE_IntTypes_MSVC12.h:41
uint32_t
unsigned int uint32_t
Definition
EVE_IntTypes_MSVC12.h:42
uint8_t
unsigned char uint8_t
Definition
EVE_IntTypes_MSVC12.h:40
Gesture_Get
Gesture_Touch_t * Gesture_Get()
Get gesture data.
Definition
Gesture.c:198
Gesture_Renew
Gesture_Touch_t * Gesture_Renew(EVE_HalContext *phost)
Gesture_GetTag
uint8_t Gesture_GetTag(EVE_HalContext *phost)
Get Active tag number.
Definition
Gesture.c:140
Gesture_Touch_t
struct Gesture_Touch Gesture_Touch_t
EVE_HalContext
Definition
EVE_HalDefs.h:233
Gesture_Touch
Definition
Gesture.h:37
Gesture_Touch::tagReleased
uint32_t tagReleased
Definition
Gesture.h:40
Gesture_Touch::velocityX
int velocityX
Definition
Gesture.h:47
Gesture_Touch::isSwipe
uint8_t isSwipe
Definition
Gesture.h:44
Gesture_Touch::tagTrackTouched
uint32_t tagTrackTouched
Definition
Gesture.h:38
Gesture_Touch::isTouch
uint8_t isTouch
Definition
Gesture.h:43
Gesture_Touch::trackValLine
uint32_t trackValLine
Definition
Gesture.h:41
Gesture_Touch::touchY
uint16_t touchY
Definition
Gesture.h:46
Gesture_Touch::tagPressed
uint32_t tagPressed
Definition
Gesture.h:39
Gesture_Touch::trackValCircle
uint32_t trackValCircle
Definition
Gesture.h:42
Gesture_Touch::touchX
uint16_t touchX
Definition
Gesture.h:45
common
application
Gesture.h
Copyright © Bridgetek Pte Ltd