sway-patched-tray-menu/include/sway/input/keyboard.h
2017-12-12 08:29:37 -05:00

15 lines
403 B
C

#include "sway/input/seat.h"
struct sway_keyboard {
struct sway_seat *seat;
struct sway_input_device *device;
struct wl_list link; // sway_seat::keyboards
struct wl_listener keyboard_key;
struct wl_listener keyboard_modifiers;
};
struct sway_keyboard *sway_keyboard_create(struct sway_seat *seat,
struct sway_input_device *device);
void sway_keyboard_destroy(struct sway_keyboard *keyboard);