aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/input/switch.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/input/switch.h')
-rw-r--r--include/sway/input/switch.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/sway/input/switch.h b/include/sway/input/switch.h
new file mode 100644
index 00000000..19bb1e77
--- /dev/null
+++ b/include/sway/input/switch.h
@@ -0,0 +1,19 @@
1#ifndef _SWAY_INPUT_SWITCH_H
2#define _SWAY_INPUT_SWITCH_H
3
4#include "sway/input/seat.h"
5
6struct sway_switch {
7 struct sway_seat_device *seat_device;
8
9 struct wl_listener switch_toggle;
10};
11
12struct sway_switch *sway_switch_create(struct sway_seat *seat,
13 struct sway_seat_device *device);
14
15void sway_switch_configure(struct sway_switch *sway_switch);
16
17void sway_switch_destroy(struct sway_switch *sway_switch);
18
19#endif