Skip to content

The open-source AI voice studio. Clone, dictate, create.

fix(key_codes): add Function key arm so macOS fn can be bound to a chord (#950)

Sai Sridhar Tarra397051ba44dc
diff --git a/tauri/src-tauri/src/key_codes.rs b/tauri/src-tauri/src/key_codes.rs
index 0b0019cf..58098cd2 100644
--- a/tauri/src-tauri/src/key_codes.rs
+++ b/tauri/src-tauri/src/key_codes.rs
@@ -30,6 +30,7 @@ pub fn key_from_str(name: &str) -> Option<Key> {
"ShiftLeft" => Key::ShiftLeft,
"ShiftRight" => Key::ShiftRight,
"CapsLock" => Key::CapsLock,
+ "Function" => Key::Function,
// Whitespace / navigation
"Space" => Key::Space,