aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/input/seat.h
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2017-12-08 08:07:47 -0500
committerLibravatar Tony Crisci <tony@dubstepdish.com>2017-12-08 08:07:47 -0500
commitd76e745b738281fb98834fd5dee78f2a21727d80 (patch)
tree60d4c92b68788b1380f03481f70663b5cd67e57c /include/sway/input/seat.h
parentsway cursor (diff)
downloadsway-d76e745b738281fb98834fd5dee78f2a21727d80.tar.gz
sway-d76e745b738281fb98834fd5dee78f2a21727d80.tar.zst
sway-d76e745b738281fb98834fd5dee78f2a21727d80.zip
input include directory
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