Add http action type and Sonar mute toggle (chatCapture, media channels)

This commit is contained in:
2026-08-25 02:41:02 +02:00
parent 9797cd7e79
commit a6dc2b6230
8 changed files with 227 additions and 33 deletions
@@ -31,6 +31,8 @@ public class KeystrokeAction : IAction, IDisposable
"enter" or "return" => KeyCode.VcEnter,
"space" => KeyCode.VcSpace,
"delete" or "del" => KeyCode.VcDelete,
_ when System.Text.RegularExpressions.Regex.IsMatch(name, @"^f([1-9]|1[0-9]|2[0-4])$")
=> Enum.Parse<KeyCode>($"Vc{name.ToUpperInvariant()}"),
_ when name.Length == 1 => Enum.Parse<KeyCode>($"Vc{char.ToUpperInvariant(name[0])}"),
_ => throw new ArgumentException($"Touche inconnue : {name}")
};