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