summaryrefslogtreecommitdiffstats
path: root/include/sway/old/input.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/old/input.h')
-rw-r--r--include/sway/old/input.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/sway/old/input.h b/include/sway/old/input.h
new file mode 100644
index 00000000..eb92e470
--- /dev/null
+++ b/include/sway/old/input.h
@@ -0,0 +1,24 @@
1#ifndef _SWAY_INPUT_H
2#define _SWAY_INPUT_H
3#include <libinput.h>
4#include "sway/server.h"
5#include "config.h"
6#include "list.h"
7
8struct sway_input {
9 list_t *input_devices;
10};
11
12struct input_config *new_input_config(const char* identifier);
13
14char* libinput_dev_unique_id(struct libinput_device *dev);
15
16struct sway_input *sway_input_create(struct sway_server *server);
17
18/**
19 * Pointer used when reading input blocked.
20 * Shared so that it can be cleared from commands.c when closing the block
21 */
22extern struct input_config *current_input_config;
23
24#endif