The wl_touch interface represents a touchscreen associated with a seat.
Touch interactions can consist of one or more contacts. For each contact, a series of events is generated, starting with a down event, followed by zero or more motion events, and ending with an up event. Events relating to the same contact point can be identified by the ID of the sequence.
◆ WL_TOUCH_CANCEL_SINCE_VERSION
#define WL_TOUCH_CANCEL_SINCE_VERSION 1 |
◆ WL_TOUCH_DOWN_SINCE_VERSION
#define WL_TOUCH_DOWN_SINCE_VERSION 1 |
◆ WL_TOUCH_FRAME_SINCE_VERSION
#define WL_TOUCH_FRAME_SINCE_VERSION 1 |
◆ WL_TOUCH_MOTION_SINCE_VERSION
#define WL_TOUCH_MOTION_SINCE_VERSION 1 |
◆ WL_TOUCH_ORIENTATION_SINCE_VERSION
#define WL_TOUCH_ORIENTATION_SINCE_VERSION 6 |
◆ WL_TOUCH_RELEASE_SINCE_VERSION
#define WL_TOUCH_RELEASE_SINCE_VERSION 3 |
◆ WL_TOUCH_SHAPE_SINCE_VERSION
#define WL_TOUCH_SHAPE_SINCE_VERSION 6 |
◆ WL_TOUCH_UP_SINCE_VERSION
#define WL_TOUCH_UP_SINCE_VERSION 1 |
◆ wl_touch_add_listener()
static int wl_touch_add_listener |
( |
struct wl_touch * |
wl_touch, |
|
|
const struct wl_touch_listener * |
listener, |
|
|
void * |
data |
|
) |
| |
|
inlinestatic |
Definition at line 4870 of file wayland-client-protocol.h.
4873 return wl_proxy_add_listener((
struct wl_proxy *) wl_touch,
4874 (
void (**)(
void)) listener,
data);
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
◆ wl_touch_destroy()
static void wl_touch_destroy |
( |
struct wl_touch * |
wl_touch | ) |
|
|
inlinestatic |
◆ wl_touch_get_user_data()
static void* wl_touch_get_user_data |
( |
struct wl_touch * |
wl_touch | ) |
|
|
inlinestatic |
◆ wl_touch_release()
static void wl_touch_release |
( |
struct wl_touch * |
wl_touch | ) |
|
|
inlinestatic |
◆ wl_touch_set_user_data()
static void wl_touch_set_user_data |
( |
struct wl_touch * |
wl_touch, |
|
|
void * |
user_data |
|
) |
| |
|
inlinestatic |