input skeleton

This commit is contained in:
Tony Crisci 2017-12-06 08:28:46 -05:00
parent 3fe64482bb
commit 338a0399f8
4 changed files with 25 additions and 0 deletions

18
include/sway/input.h Normal file
View file

@ -0,0 +1,18 @@
#ifndef _SWAY_INPUT_H
#define _SWAY_INPUT_H
#include <libinput.h>
#include "sway/server.h"
#include "config.h"
#include "list.h"
struct sway_input {
list_t *input_devices;
};
struct input_config *new_input_config(const char* identifier);
char* libinput_dev_unique_id(struct libinput_device *dev);
struct sway_input *sway_input_create(struct sway_server *server);
#endif