This commit is contained in:
parent
25ca204213
commit
c80e2204d9
@ -496,7 +496,8 @@ impl Enigo {
|
|||||||
#[inline]
|
#[inline]
|
||||||
fn map_key_board(&mut self, ch: char) -> CGKeyCode {
|
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
|
// 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);
|
return self.map_key_board_en(ch);
|
||||||
}
|
}
|
||||||
let mut code = 0;
|
let mut code = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user