Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/sdl/src/events/
DSDL_touch.c31 static SDL_Touch **SDL_touchDevices = NULL; variable
54 return SDL_touchDevices[index]->id; in SDL_GetTouchDevice()
64 touch = SDL_touchDevices[index]; in SDL_GetTouchIndex()
80 return SDL_touchDevices[index]; in SDL_GetTouch()
141 touchDevices = (SDL_Touch **) SDL_realloc(SDL_touchDevices, in SDL_AddTouch()
147 SDL_touchDevices = touchDevices; in SDL_AddTouch()
150 SDL_touchDevices[index] = (SDL_Touch *) SDL_malloc(sizeof(*SDL_touchDevices[index])); in SDL_AddTouch()
151 if (!SDL_touchDevices[index]) { in SDL_AddTouch()
159 SDL_touchDevices[index]->id = touchID; in SDL_AddTouch()
160 SDL_touchDevices[index]->num_fingers = 0; in SDL_AddTouch()
[all …]