Documentation for <wlr/types/wlr_virtual_pointer_v1.h>

Back to index

Table of contents

struct wlr_virtual_pointer_manager_v1

struct wlr_virtual_pointer_manager_v1 {
	struct wl_global *global;
	struct wl_list virtual_pointers;
	struct wl_listener display_destroy;
	struct {
		struct wl_signal new_virtual_pointer;
		struct wl_signal destroy;
	} events;
};

wlr_virtual_pointer_manager_v1_create()

struct wlr_virtual_pointer_manager_v1 *wlr_virtual_pointer_manager_v1_create(​struct wl_display *display);

struct wlr_virtual_pointer_v1

struct wlr_virtual_pointer_v1 {
	struct wlr_pointer pointer;
	struct wl_resource *resource;
	struct wlr_pointer_axis_event axis_event[];
	enum wl_pointer_axis axis;
	bool axis_valid[];
	struct wl_list link;
};

struct wlr_virtual_pointer_v1_new_pointer_event

struct wlr_virtual_pointer_v1_new_pointer_event {
	struct wlr_virtual_pointer_v1 *new_pointer;
	struct wlr_seat *suggested_seat;
	struct wlr_output *suggested_output;
};