SDL.Input.Touch – sdl2 Reference Manual
Touch
Description:
public
namespace
Touch
Namespace:
SDL.Input.Touch
Package:
sdl2
Content:
Classes:
Finger
Structs:
FingerID
GestureID
TouchID
Constants:
public
const
int64
MOUSE_TOUCH_ID
Used as the
TouchID
for touch events simulated with mouse input
public
const
uint32
TOUCH_MOUSE_ID
Used as the device ID for mouse events simulated with touch input
Methods:
public
TouchID
get_touch_device
(
int
index)
public
int
load_dollar_templates
(
TouchID
touch_id,
string
file)
public
int
load_dollar_templates_rw
(
TouchID
touch_id,
RWops
src)
public
int
num_devices
()
public
int
num_fingers
(
TouchID
touch_id)
public
int
record_gesture
(
TouchID
touch_id)
public
int
save_all_dollar_templates
(
string
file)
public
int
save_all_dollar_templates_rw
(
RWops
dst)
public
int
save_dollar_template
(
GestureID
gesture_id,
string
file)
public
int
save_dollar_template_rw
(
GestureID
gesture_id,
RWops
dst)
2022 vala-language.org