fix(pynput): Add dead key detection condition to support German keyboard

This commit is contained in:
Asura
2022-07-04 02:14:47 -07:00
Unverified
parent 002f06a767
commit 9e8d8e4357
2 changed files with 6 additions and 3 deletions

View File

@@ -276,6 +276,7 @@ impl Handler {
KeyRelease(k) => (k, 0),
_ => return,
};
log::debug!("{:?}", key);
let alt = get_key_state(enigo::Key::Alt);
#[cfg(windows)]
let ctrl = {