summaryrefslogtreecommitdiffstats
path: root/include/sway/input.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/input.h')
-rw-r--r--include/sway/input.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/sway/input.h b/include/sway/input.h
index 4ed9bffe..eb92e470 100644
--- a/include/sway/input.h
+++ b/include/sway/input.h
@@ -1,18 +1,19 @@
1#ifndef _SWAY_INPUT_H 1#ifndef _SWAY_INPUT_H
2#define _SWAY_INPUT_H 2#define _SWAY_INPUT_H
3
4#include <libinput.h> 3#include <libinput.h>
4#include "sway/server.h"
5#include "config.h" 5#include "config.h"
6#include "list.h" 6#include "list.h"
7 7
8struct sway_input {
9 list_t *input_devices;
10};
11
8struct input_config *new_input_config(const char* identifier); 12struct input_config *new_input_config(const char* identifier);
9 13
10char* libinput_dev_unique_id(struct libinput_device *dev); 14char* libinput_dev_unique_id(struct libinput_device *dev);
11 15
12/** 16struct sway_input *sway_input_create(struct sway_server *server);
13 * Global input device list.
14 */
15extern list_t *input_devices;
16 17
17/** 18/**
18 * Pointer used when reading input blocked. 19 * Pointer used when reading input blocked.