Load Dollar Gesture templates from a file.
Defined in SDL_gesture.h
int SDL_LoadDollarTemplates(SDL_TouchID touchId, SDL_RWops *src);
touchId | a touch id |
src | a SDL_RWops to load from |
Returns the number of loaded templates on success or a negative error code (or 0) on failure; call SDL_GetError() for more information.
This function is available since SDL 2.0.0.
CategoryAPI, CategoryAPIFunction