#include "SDL_stdinc.h"
#include "SDL_error.h"
#include "SDL_video.h"
#include "SDL_touch.h"
#include "begin_code.h"
#include "close_code.h"
Go to the source code of this file.
◆ SDL_GestureID
CategoryGesture
Include file for SDL gesture event handling.
Definition at line 44 of file SDL_gesture.h.
◆ SDL_LoadDollarTemplates()
◆ SDL_RecordGesture()
Begin recording a gesture on a specified touch device or all touch devices.
If the parameter touchId
is -1 (i.e., all devices), this function will always return 1, regardless of whether there actually are any devices.
- Parameters
-
touchId | the touch device id, or -1 for all touch devices. |
- Returns
- 1 on success or 0 if the specified device could not be found.
- Since
- This function is available since SDL 2.0.0.
- See also
- SDL_GetTouchDevice
◆ SDL_SaveAllDollarTemplates()
int SDL_SaveAllDollarTemplates |
( |
SDL_RWops * |
dst | ) |
|
|
extern |
◆ SDL_SaveDollarTemplate()