Fix map keyboard mode in Android

This commit is contained in:
Asura
2022-09-28 00:12:08 -07:00
parent a4774b0824
commit 9e3fc377b8
2 changed files with 6 additions and 1 deletions

View File

@@ -850,6 +850,7 @@ impl<T: InvokeUiSession> Session<T> {
key_event.set_chr(chr);
}
Key::ControlKey(key) => {
#[cfg(not(any(target_os = "android", target_os = "ios")))]
let key = if !get_key_state(enigo::Key::NumLock) {
match key {
ControlKey::Numpad0 => ControlKey::Insert,