Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2013-02-19 22:11:25
Size: 1089
Editor: ChrisBush
Comment: create page
Revision 2 as of 2013-09-15 18:00:26
Size: 1095
Comment: Corrected formatting.
Deletions are marked like this. Additions are marked like this.
Line 25: Line 25:
||touchId||the touch device index, or -1 for all touch devices|| ||'''touchId'''||the touch device index, or -1 for all touch devices||

DRAFT

SDL_RecordGesture

Use this function to begin recording a gesture on a specified touch device or all touch devices.

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.


CategoryAPI, CategoryEvents

None: SDL_RecordGesture (last edited 2017-02-12 22:29:51 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit