This repository has been archived by the owner on Jan 11, 2020. It is now read-only.
This fixes bindings in input::keyboard
and adds a new binding.
Breaking changes
input::keyboard::{get_keysym_for_key, get_utf32_for_key}
had previously been incorrectly bound to take an&KeyMod
. They now take a fullKeyboardModifiers
. If you are using this function the way we are (calling it with empty modifiers to get the letter being pressed), it is suggested to construct the argument usingKeyboardModifiers { leds: KeyboardLeds::empty(), mods: KeyMod::empty() }
.
Non-breaking changes
- We also added
keyboard::get_current_keys
. It is suggested to put the output of that throughget_keysym_for_key
as well as the reported keysyms are inaccurate if multiple keys are pressed.
Future changes
Wlc has had some changes as well. They can now build for *BSD, and we've already had an issue raised with ARM. We don't have a *BSD machine to test on but we will make sure cargo can compile us on both platforms.