From 6effca7b61e87c7d17885d007d94e556a0137651 Mon Sep 17 00:00:00 2001 From: Brian Ashworth Date: Wed, 17 Jul 2019 17:12:20 -0400 Subject: ipc: add an input event This adds an ipc event related to input devices. Currently the following changes are supported: - added: when an input device becomes available - removed: when an input device is no longer available - xkb_keymap_changed: (keyboards only) the keymap changed - xkb_layout_changed: (keyboards only) the effective layout changed --- include/sway/input/keyboard.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/sway/input') diff --git a/include/sway/input/keyboard.h b/include/sway/input/keyboard.h index 90214af9..1ff63c94 100644 --- a/include/sway/input/keyboard.h +++ b/include/sway/input/keyboard.h @@ -52,6 +52,7 @@ struct sway_keyboard { struct sway_seat_device *seat_device; struct xkb_keymap *keymap; + xkb_layout_index_t effective_layout; struct wl_listener keyboard_key; struct wl_listener keyboard_modifiers; -- cgit v1.2.3