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

23 lines
510 B
C
Raw Normal View History

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