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);
|
let mut tmp = get_key_state(enigo::Key::Control);
|
||||||
unsafe {
|
unsafe {
|
||||||
if IS_ALT_GR {
|
if IS_ALT_GR {
|
||||||
if alt || key == Key::Alt {
|
if alt || key == Key::AltGr {
|
||||||
if tmp {
|
if tmp {
|
||||||
tmp = false;
|
tmp = false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user