mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-26 22:53:15 -04:00
Make ISO_Left_Tab generate VirtualKeyCode::Tab (#308)
* Make ISO_Left_Tab generate VirtualKeyCode::Tab * Add changes to changelog
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user