AltGr works on >10, but not on win7, even with pynput

This commit is contained in:
rustdesk 2022-03-07 20:52:12 +08:00
parent dcad90e073
commit 71fb27fe4b

View File

@ -261,7 +261,7 @@ impl Handler {
let mut tmp = get_key_state(enigo::Key::Control);
unsafe {
if IS_ALT_GR {
if alt || key == Key::Alt {
if alt || key == Key::AltGr {
if tmp {
tmp = false;
}