From a1b573c3c512ac277fb37ca086d04da8f559e554 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Wed, 6 Apr 2022 07:01:10 -0700 Subject: [PATCH] fix parsing raw: keycodes refs: #1824 --- config/src/keys.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); }