From 28081b76891ddbbb825dee6c202037d78aa8f164 Mon Sep 17 00:00:00 2001 From: Cole Mickens Date: Sun, 17 Jan 2016 02:53:37 -0800 Subject: libinput --- include/input.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 include/input.h (limited to 'include/input.h') diff --git a/include/input.h b/include/input.h new file mode 100644 index 00000000..4ed9bffe --- /dev/null +++ b/include/input.h @@ -0,0 +1,23 @@ +#ifndef _SWAY_INPUT_H +#define _SWAY_INPUT_H + +#include +#include "config.h" +#include "list.h" + +struct input_config *new_input_config(const char* identifier); + +char* libinput_dev_unique_id(struct libinput_device *dev); + +/** + * Global input device list. + */ +extern list_t *input_devices; + +/** + * Pointer used when reading input blocked. + * Shared so that it can be cleared from commands.c when closing the block + */ +extern struct input_config *current_input_config; + +#endif -- cgit v1.2.3