Gesture for touch screen. More...
Go to the source code of this file.
Functions | |
static int | Getvelocity_X () |
Get horizontal veloxity. | |
static uint32_t | GetTagReleased () |
Get the Tag number of Released object. | |
uint8_t | Gesture_GetTag (EVE_HalContext *phost) |
Get Active tag number. | |
Gesture_Touch_t * | Gesture_Renew (Gpu_Hal_Context_t *phost) |
Refresh gesture data. | |
Gesture_Touch_t * | Gesture_Get () |
Get gesture data. | |
Variables | |
static Gesture_Touch_t | sGesture |
static uint32_t | sTag |
static uint16_t | sIsTouch |
static uint16_t | sTouchX |
static uint16_t | sTouchY |
static uint8_t | sIsSwipe = 0 |
static const int | sMinMove = 15 |
Gesture for touch screen.
MIT License
Copyright (c) [2019] [Bridgetek Pte Ltd (BRTChip)]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Definition in file Gesture.c.
Gesture_Touch_t * Gesture_Get | ( | ) |
Get gesture data.
uint8_t Gesture_GetTag | ( | EVE_HalContext * | phost | ) |
Get Active tag number.
phost | Pointer to Hal context |
Definition at line 140 of file Gesture.c.
Gesture_Touch_t * Gesture_Renew | ( | Gpu_Hal_Context_t * | phost | ) |
Refresh gesture data.
Definition at line 173 of file Gesture.c.
|
static |
Get the Tag number of Released object.
|
static |
Get horizontal veloxity.
Definition at line 51 of file Gesture.c.
|
static |