SDL.Input.Touch – sdl2 Reference Manual
Packages
sdl2
SDL
Input
Touch
Finger
FingerID
GestureID
TouchID
MOUSE_TOUCH_ID
TOUCH_MOUSE_ID
get_touch_device
load_dollar_templates
load_dollar_templates_rw
num_devices
num_fingers
record_gesture
save_all_dollar_templates
save_all_dollar_templates_rw
save_dollar_template
save_dollar_template_rw
SDL.Input.Touch
Description:
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
Functions:
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)