mirror of
https://github.com/swaywm/sway.git
synced 2025-11-01 22:58:41 -04:00
input skeleton
This commit is contained in:
parent
3fe64482bb
commit
338a0399f8
4 changed files with 25 additions and 0 deletions
18
include/sway/input.h
Normal file
18
include/sway/input.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue