swayfx/include/sway/input/input-manager.h

23 lines
510 B
C
Raw Normal View History

2017-12-08 01:58:32 +11:00
#ifndef _SWAY_INPUT_MANAGER_H
#define _SWAY_INPUT_MANAGER_H
2017-12-07 00:28:46 +11:00
#include <libinput.h>
#include "sway/server.h"
2017-12-09 00:07:47 +11:00
#include "sway/config.h"
2017-12-07 00:28:46 +11:00
#include "list.h"
2017-12-07 23:31:49 +11:00
struct sway_input_manager {
2017-12-08 01:58:32 +11:00
struct wl_listener input_add;
struct wl_listener input_remove;
struct sway_server *server;
list_t *seats;
2017-12-07 00:28:46 +11:00
};
struct input_config *new_input_config(const char* identifier);
char* libinput_dev_unique_id(struct libinput_device *dev);
2017-12-07 23:31:49 +11:00
struct sway_input_manager *sway_input_manager_create(
struct sway_server *server);
2017-12-07 00:28:46 +11:00
#endif