Fix map keyboard mode in Android
This commit is contained in:
parent
a4774b0824
commit
9e3fc377b8
2 changed files with 6 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue