diff options
Diffstat (limited to 'include/sway/input/keyboard.h')
-rw-r--r-- | include/sway/input/keyboard.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/sway/input/keyboard.h b/include/sway/input/keyboard.h new file mode 100644 index 00000000..89cde3fa --- /dev/null +++ b/include/sway/input/keyboard.h | |||
@@ -0,0 +1,18 @@ | |||
1 | #include "sway/input/seat.h" | ||
2 | |||
3 | struct sway_keyboard { | ||
4 | struct sway_seat_device *seat_device; | ||
5 | struct wl_list link; // sway_seat::keyboards | ||
6 | |||
7 | struct xkb_keymap *keymap; | ||
8 | |||
9 | struct wl_listener keyboard_key; | ||
10 | struct wl_listener keyboard_modifiers; | ||
11 | }; | ||
12 | |||
13 | struct sway_keyboard *sway_keyboard_create(struct sway_seat *seat, | ||
14 | struct sway_seat_device *device); | ||
15 | |||
16 | void sway_keyboard_configure(struct sway_keyboard *keyboard); | ||
17 | |||
18 | void sway_keyboard_destroy(struct sway_keyboard *keyboard); | ||