Add Mod4 (Windows) key

This commit is contained in:
David96
2021-02-11 18:04:13 +01:00
parent e6c45a63fb
commit a265427e8e
3 changed files with 5 additions and 0 deletions

View File

@ -270,6 +270,7 @@ impl Submission {
.map(|(_id, m)| match m {
Modifier::Control => Modifiers::CONTROL,
Modifier::Alt => Modifiers::MOD1,
Modifier::Mod4 => Modifiers::MOD4,
})
.fold(Modifiers::empty(), |m, n| m | n);
self.virtual_keyboard.set_modifiers_state(raw_modifiers);