mirror of
https://github.com/swaywm/sway.git
synced 2026-04-26 06:46:26 -04:00
basic input manager and seat
This commit is contained in:
parent
21ce20885a
commit
f6f63f60d6
5 changed files with 105 additions and 3 deletions
|
|
@ -1,12 +1,15 @@
|
|||
#ifndef _SWAY_INPUT_H
|
||||
#define _SWAY_INPUT_H
|
||||
#ifndef _SWAY_INPUT_MANAGER_H
|
||||
#define _SWAY_INPUT_MANAGER_H
|
||||
#include <libinput.h>
|
||||
#include "sway/server.h"
|
||||
#include "config.h"
|
||||
#include "list.h"
|
||||
|
||||
struct sway_input_manager {
|
||||
list_t *input_devices;
|
||||
struct wl_listener input_add;
|
||||
struct wl_listener input_remove;
|
||||
struct sway_server *server;
|
||||
list_t *seats;
|
||||
};
|
||||
|
||||
struct input_config *new_input_config(const char* identifier);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue