working on keysym

This commit is contained in:
open-trade
2022-01-07 18:03:55 +08:00
parent 9df1fcb783
commit 26d161f827
7 changed files with 48 additions and 12 deletions

View File

@@ -340,6 +340,7 @@ impl Enigo {
Key::Raw(raw_keycode) => raw_keycode,
Key::Layout(c) => self.get_layoutdependent_keycode(c.to_string()),
Key::Super | Key::Command | Key::Windows | Key::Meta => EVK_LWIN,
Key::KeySym(sym) => 0,
}
}