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