mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-01-26 03:36:32 +11: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:
parent
1db92063d9
commit
3f33cd1929
2 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
# Unreleased
|
# Unreleased
|
||||||
|
|
||||||
- Fixed issue of calls to `set_inner_size` blocking on Windows.
|
- 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
|
- Fixed the X11 backed on 32bit targets
|
||||||
|
|
||||||
# Version 0.8.2 (2017-09-28)
|
# 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_Super_R => events::VirtualKeyCode::Super_r,
|
||||||
//ffi::XK_Hyper_L => events::VirtualKeyCode::Hyper_l,
|
//ffi::XK_Hyper_L => events::VirtualKeyCode::Hyper_l,
|
||||||
//ffi::XK_Hyper_R => events::VirtualKeyCode::Hyper_r,
|
//ffi::XK_Hyper_R => events::VirtualKeyCode::Hyper_r,
|
||||||
|
ffi::XK_ISO_Left_Tab => events::VirtualKeyCode::Tab,
|
||||||
ffi::XK_space => events::VirtualKeyCode::Space,
|
ffi::XK_space => events::VirtualKeyCode::Space,
|
||||||
//ffi::XK_exclam => events::VirtualKeyCode::Exclam,
|
//ffi::XK_exclam => events::VirtualKeyCode::Exclam,
|
||||||
//ffi::XK_quotedbl => events::VirtualKeyCode::Quotedbl,
|
//ffi::XK_quotedbl => events::VirtualKeyCode::Quotedbl,
|
||||||
|
|
Loading…
Add table
Reference in a new issue