mirror of
https://github.com/swaywm/sway.git
synced 2026-03-06 01:40:42 -05:00
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
This commit is contained in:
parent
36aa67e549
commit
6effca7b61
7 changed files with 107 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue