This is new wiki software and old wiki content. It's a work in progress!
Here's the explanation.
Be gentle, report bugs, leave feedback on pages, or just edit them yourself! Thanks!

SDL Wiki


THIS PAGE IS A WORK IN PROGRESS ... Please make edits to this page to improve it!


Begin recording a gesture on a specified touch device or all touch devices.


int SDL_RecordGesture(SDL_TouchID touchId);

Function Parameters


the touch device id, or -1 for all touch devices

Return Value

Returns 1 on success or 0 if the specified device could not be found.


If the parameter touchId is -1 (i.e., all devices), this function will always return 1, regardless of whether there actually are any devices.


This function is available since SDL 2.0.0.


CategoryAPI, CategoryEvents, CategoryDraft

[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.