aboutsummaryrefslogtreecommitdiff
path: root/include/rootston/pointer.h
blob: b3fc8c3a9b3530cbbac83311c95598dba40da9d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _ROOTSTON_POINTER_H
#define _ROOTSTON_POINTER_H

#include <wayland-server.h>
#include <wlr/types/wlr_input_device.h>

struct roots_pointer {
	struct roots_input *input;
	struct wlr_input_device *device;
	struct wl_list link;
};

void pointer_add(struct wlr_input_device *device, struct roots_input *input);
void pointer_remove(struct wlr_input_device *device, struct roots_input *input);

#endif