mirror of
https://github.com/NickHu/sway
synced 2025-01-16 15:41:47 +01:00
13 lines
340 B
C
13 lines
340 B
C
#include "sway/input/seat.h"
|
|
|
|
struct sway_keyboard {
|
|
struct sway_seat *seat;
|
|
struct wlr_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 wlr_input_device *device);
|