smithay/anvil
Victor Brekenfeld 90dd28c910 wayland/seat: Add `KeysymHandle` to allow for keycode conversions.
Currently keycodes are always converted using xkbcommons
`State::key_get_one_sym` function. This may be not what the compositor
wants, e.g. if it represents keybindings with explicit modifiers.
Applying Shift in this case changes the sym, making it necessary for
the compositor to *undo* this transformation, which is hard or even
impossible and very unnecessary, when we have all the necessary
information in smithay.

Therefor this commit replaces the `Keysym` argument of the filter
closure with a `KeysymHandle`, which allows for different variants of
keysyms to be received. Modified (as previously), unmodified or even
as a raw keycode.
2021-09-17 17:12:26 +02:00
..
resources anvil: Introduce debug feature and draw fps 2021-07-13 23:37:28 +02:00
src wayland/seat: Add `KeysymHandle` to allow for keycode conversions. 2021-09-17 17:12:26 +02:00
Cargo.toml anvil: make into a library+bin crate 2021-07-25 09:39:49 +02:00
build.rs libseat support (#292) 2021-06-15 23:35:16 +02:00