command/input: support globs

This commit is contained in:
Leon Henrik Plickat
2024-01-08 00:49:16 +01:00
committed by Isaac Freund
parent 7f1f9152f2
commit 931b6268e7
5 changed files with 51 additions and 25 deletions

View File

@ -49,7 +49,10 @@ pointer_constraints: *wlr.PointerConstraintsV1,
input_method_manager: *wlr.InputMethodManagerV2,
text_input_manager: *wlr.TextInputManagerV3,
/// List of input device configurations. Ordered by glob generality, with
/// the most general towards the start and the most specific towards the end.
configs: std.ArrayList(InputConfig),
devices: wl.list.Head(InputDevice, .link),
seats: std.TailQueue(Seat) = .{},