Home
last modified time | relevance | path

Searched refs:num_fingers (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/SDL2/src/events/
A DSDL_touch.c112 for (index = 0; index < touch->num_fingers; ++index) { in SDL_GetFingerIndex()
124 if (index < 0 || index >= touch->num_fingers) { in SDL_GetFinger()
135 return touch->num_fingers; in SDL_GetNumTouchFingers()
147 if (index < 0 || index >= touch->num_fingers) { in SDL_GetTouchFinger()
186 SDL_touchDevices[index]->num_fingers = 0; in SDL_AddTouch()
202 if (touch->num_fingers == touch->max_fingers) { in SDL_AddFinger()
216 finger = touch->fingers[touch->num_fingers++]; in SDL_AddFinger()
234 touch->num_fingers--; in SDL_DelFinger()
236 touch->fingers[index] = touch->fingers[touch->num_fingers]; in SDL_DelFinger()
237 touch->fingers[touch->num_fingers] = temp; in SDL_DelFinger()
A DSDL_touch_c.h31 int num_fingers; member

Completed in 3 milliseconds