diff --git a/libs/enigo/src/macos/macos_impl.rs b/libs/enigo/src/macos/macos_impl.rs index 805b285ee..ca40bdcdd 100644 --- a/libs/enigo/src/macos/macos_impl.rs +++ b/libs/enigo/src/macos/macos_impl.rs @@ -496,7 +496,8 @@ impl Enigo { #[inline] fn map_key_board(&mut self, ch: char) -> CGKeyCode { // no idea why below char not working with shift, https://github.com/rustdesk/rustdesk/issues/406#issuecomment-1145157327 - if ch == '-' || ch == '=' || (ch >= '0' && ch <= '9') { + // seems related to numpad char + if ch == '-' || ch == '=' || ch == '.' || ch == '/' || (ch >= '0' && ch <= '9') { return self.map_key_board_en(ch); } let mut code = 0;