fix apps key
This commit is contained in:
parent
bb25964307
commit
e510d2744d
7 changed files with 10 additions and 7 deletions
|
|
@ -1134,6 +1134,8 @@ lazy_static::lazy_static! {
|
|||
("VK_NUMPAD7", Key::ControlKey(ControlKey::Numpad7)),
|
||||
("VK_NUMPAD8", Key::ControlKey(ControlKey::Numpad8)),
|
||||
("VK_NUMPAD9", Key::ControlKey(ControlKey::Numpad9)),
|
||||
("Apps", Key::ControlKey(ControlKey::Apps)),
|
||||
("Meta", Key::ControlKey(ControlKey::Meta)),
|
||||
("RAlt", Key::ControlKey(ControlKey::RAlt)),
|
||||
("RWin", Key::ControlKey(ControlKey::RWin)),
|
||||
("RControl", Key::ControlKey(ControlKey::RControl)),
|
||||
|
|
|
|||
|
|
@ -890,6 +890,10 @@ impl Handler {
|
|||
}
|
||||
|
||||
let mut name = name;
|
||||
#[cfg(target_os = "linux")]
|
||||
if code == 65383 { // VK_MENU
|
||||
name = "Apps".to_owned();
|
||||
}
|
||||
|
||||
if extended {
|
||||
match name.as_ref() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue