AltGr works on >10, but not on win7, even with pynput
This commit is contained in:
parent
dcad90e073
commit
71fb27fe4b
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user