Make ISO_Left_Tab generate VirtualKeyCode::Tab (#308)

* Make ISO_Left_Tab generate VirtualKeyCode::Tab

* Add changes to changelog
This commit is contained in:
Matteo Signer 2017-10-08 13:59:45 +02:00 committed by tomaka
parent 1db92063d9
commit 3f33cd1929
2 changed files with 2 additions and 0 deletions

View file

@ -1,6 +1,7 @@
# Unreleased
- Fixed issue of calls to `set_inner_size` blocking on Windows.
- Mapped `ISO_Left_Tab` to `VirtualKeyCode::Tab` to make the key work with modifiers
- Fixed the X11 backed on 32bit targets
# Version 0.8.2 (2017-09-28)

View file

@ -171,6 +171,7 @@ pub fn keysym_to_element(keysym: libc::c_uint) -> Option<VirtualKeyCode> {
//ffi::XK_Super_R => events::VirtualKeyCode::Super_r,
//ffi::XK_Hyper_L => events::VirtualKeyCode::Hyper_l,
//ffi::XK_Hyper_R => events::VirtualKeyCode::Hyper_r,
ffi::XK_ISO_Left_Tab => events::VirtualKeyCode::Tab,
ffi::XK_space => events::VirtualKeyCode::Space,
//ffi::XK_exclam => events::VirtualKeyCode::Exclam,
//ffi::XK_quotedbl => events::VirtualKeyCode::Quotedbl,