You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
586 B
27 lines
586 B
7 years ago
|
#ifndef _ROOTSTON_SEAT_H
|
||
|
#define _ROOTSTON_SEAT_H
|
||
|
|
||
|
#include <wayland-server.h>
|
||
|
|
||
|
#include "rootston/input.h"
|
||
|
#include "rootston/keyboard.h"
|
||
|
|
||
|
struct roots_seat {
|
||
|
struct roots_input *input;
|
||
|
struct wlr_seat *seat;
|
||
|
struct wl_list keyboards;
|
||
|
struct wl_list link;
|
||
|
};
|
||
|
|
||
|
struct roots_seat *roots_seat_create(struct roots_input *input, char *name);
|
||
|
|
||
|
void roots_seat_destroy(struct roots_seat *seat);
|
||
|
|
||
|
void roots_seat_add_keyboard(struct roots_seat *seat,
|
||
|
struct roots_keyboard *keyboard);
|
||
|
|
||
|
void roots_seat_remove_keyboard(struct roots_seat *seat,
|
||
|
struct roots_keyboard *keyboard);
|
||
|
|
||
|
#endif
|