diff --git a/config/src/keys.rs b/config/src/keys.rs index ad11b0b8d..5b525ac1a 100644 --- a/config/src/keys.rs +++ b/config/src/keys.rs @@ -109,7 +109,7 @@ impl TryFrom for DeferredKeyCode { impl TryFrom<&str> for DeferredKeyCode { type Error = anyhow::Error; fn try_from(s: &str) -> anyhow::Result { - if s.starts_with("mapped:") || s.starts_with("phys:") { + if s.starts_with("mapped:") || s.starts_with("phys:") || s.starts_with("raw:") { let key = Self::parse_str(&s)?; return Ok(DeferredKeyCode::KeyCode(key)); }