Documentation for <wlr/types/wlr_pointer_gestures_v1.h>

Back to index

Table of contents

struct wlr_pointer_gestures_v1

struct wlr_pointer_gestures_v1 {
	struct wl_global *global;
	struct wl_list swipes; // wl_resource_get_link()
	struct wl_list pinches; // wl_resource_get_link()
	struct wl_list holds; // wl_resource_get_link()
	
	struct wl_listener display_destroy;
	
	struct {
		struct wl_signal destroy;
	} events;
	
	void *data;
};

wlr_pointer_gestures_v1_create()

struct wlr_pointer_gestures_v1 *wlr_pointer_gestures_v1_create(​struct wl_display *display);

wlr_pointer_gestures_v1_send_hold_begin()

void wlr_pointer_gestures_v1_send_hold_begin(​struct wlr_pointer_gestures_v1 *gestures, struct wlr_seat *seat, uint32_t time_msec, uint32_t fingers);

wlr_pointer_gestures_v1_send_hold_end()

void wlr_pointer_gestures_v1_send_hold_end(​struct wlr_pointer_gestures_v1 *gestures, struct wlr_seat *seat, uint32_t time_msec, bool cancelled);

wlr_pointer_gestures_v1_send_pinch_begin()

void wlr_pointer_gestures_v1_send_pinch_begin(​struct wlr_pointer_gestures_v1 *gestures, struct wlr_seat *seat, uint32_t time_msec, uint32_t fingers);

wlr_pointer_gestures_v1_send_pinch_end()

void wlr_pointer_gestures_v1_send_pinch_end(​struct wlr_pointer_gestures_v1 *gestures, struct wlr_seat *seat, uint32_t time_msec, bool cancelled);

wlr_pointer_gestures_v1_send_pinch_update()

void wlr_pointer_gestures_v1_send_pinch_update(​struct wlr_pointer_gestures_v1 *gestures, struct wlr_seat *seat, uint32_t time_msec, double dx, double dy, double scale, double rotation);

wlr_pointer_gestures_v1_send_swipe_begin()

void wlr_pointer_gestures_v1_send_swipe_begin(​struct wlr_pointer_gestures_v1 *gestures, struct wlr_seat *seat, uint32_t time_msec, uint32_t fingers);

wlr_pointer_gestures_v1_send_swipe_end()

void wlr_pointer_gestures_v1_send_swipe_end(​struct wlr_pointer_gestures_v1 *gestures, struct wlr_seat *seat, uint32_t time_msec, bool cancelled);

wlr_pointer_gestures_v1_send_swipe_update()

void wlr_pointer_gestures_v1_send_swipe_update(​struct wlr_pointer_gestures_v1 *gestures, struct wlr_seat *seat, uint32_t time_msec, double dx, double dy);