revert keysym back, enigo's Layout can do this

This commit is contained in:
rustdesk
2022-01-09 21:05:00 +08:00
parent a0c704f36e
commit 3f56c82c7b
6 changed files with 10 additions and 45 deletions

View File

@@ -426,7 +426,6 @@ 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,