|
Size: 1095
Comment: Corrected formatting.
|
Size: 1101
Comment: Removed link to SDL_GetTouch because not in SDL 2, added link to SDL_GetTouchDevice.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 48: | Line 48: |
| .[[SDL_GetTouch]] | .[[SDL_GetTouchDevice]] |
DRAFT |
SDL_RecordGesture
Use this function to begin recording a gesture on a specified touch device or all touch devices.
Contents
Syntax
int SDL_RecordGesture(SDL_TouchID touchId)
Function Parameters
touchId |
the touch device index, or -1 for all touch devices |
Return Value
Returns 1 on success or 0 if the specified device could not be found.
Code Examples
You can add your code example here
Remarks
If the parameter is -1 (i.e., all devices), this function will always return 1, regardless of whether there actually are any devices.
