mirror of
https://github.com/italicsjenga/rust_minifb.git
synced 2024-12-23 19:31:30 +11:00
Handle missing Alt keys in X11 (#99)
This commit is contained in:
parent
e2acdad0c2
commit
bf4eb2d092
|
@ -936,6 +936,8 @@ impl Window {
|
|||
XK_Scroll_Lock => Key::ScrollLock,
|
||||
XK_Shift_L => Key::LeftShift,
|
||||
XK_Shift_R => Key::RightShift,
|
||||
XK_Alt_L => Key::LeftAlt,
|
||||
XK_Alt_R => Key::RightAlt,
|
||||
XK_Control_L => Key::LeftCtrl,
|
||||
XK_Control_R => Key::RightCtrl,
|
||||
XK_Super_L => Key::LeftSuper,
|
||||
|
|
Loading…
Reference in a new issue