attempt at adding more support virtual key codes

macos-click-through
keith 5 years ago
parent d6b4c6dc41
commit 778868acc3

@ -76,8 +76,10 @@ fn parse_keycode(keycode: VirtualKeyCode) -> Option<(String, bool)> {
VirtualKeyCode::Back => Some(("BS".to_string(), true)),
VirtualKeyCode::Return => Some(("Enter".to_string(), true)),
VirtualKeyCode::Space => Some(("Space".to_string(), true)),
VirtualKeyCode::Caret => Some(("^".to_string(), false)),
VirtualKeyCode::Apostrophe => Some(("'".to_string(), false)),
VirtualKeyCode::Backslash => Some(("Bslash".to_string(), true)),
VirtualKeyCode::Colon => Some((":".to_string(), false)),
VirtualKeyCode::Comma => Some((",".to_string(), false)),
VirtualKeyCode::Equals => Some(("=".to_string(), false)),
VirtualKeyCode::Grave => Some(("`".to_string(), false)),

Loading…
Cancel
Save