working on keysym

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

No files matched your search

+1
View File
@@ -426,6 +426,7 @@ impl Enigo {
Key::Raw(raw_keycode) => raw_keycode,
Key::Layout(c) => self.map_key_board(c),
Key::KeySym(sym) => 0 as _,
Key::Super | Key::Command | Key::Windows | Key::Meta => kVK_Command,
_ => 0,