aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/input/seat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/input/seat.h')
-rw-r--r--include/sway/input/seat.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h
new file mode 100644
index 00000000..a84b7efd
--- /dev/null
+++ b/include/sway/input/seat.h
@@ -0,0 +1,21 @@
1#ifndef _SWAY_SEAT_H
2#define _SWAY_SEAT_H
3
4#include <wlr/types/wlr_seat.h>
5#include "sway/input/input-manager.h"
6
7struct sway_seat {
8 struct wlr_seat *seat;
9 struct sway_cursor *cursor;
10};
11
12struct sway_seat *sway_seat_create(struct wl_display *display,
13 const char *seat_name);
14
15void sway_seat_add_device(struct sway_seat *seat,
16 struct wlr_input_device *device);
17
18void sway_seat_remove_device(struct sway_seat *seat,
19 struct wlr_input_device *device);
20
21#endif