From 3efe8fb67ee4c92513795df6913e5c42f8f474d5 Mon Sep 17 00:00:00 2001 From: Serge <5920850+seerge@users.noreply.github.com> Date: Sun, 6 Aug 2023 18:57:19 +0200 Subject: [PATCH] Micmute from external keyboards --- app/GHelper.csproj | 2 +- app/Input/InputDispatcher.cs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/GHelper.csproj b/app/GHelper.csproj index fa57c791..c252a4a2 100644 --- a/app/GHelper.csproj +++ b/app/GHelper.csproj @@ -15,7 +15,7 @@ AnyCPU False True - 0.106 + 0.107 diff --git a/app/Input/InputDispatcher.cs b/app/Input/InputDispatcher.cs index 5454a818..75a2e880 100644 --- a/app/Input/InputDispatcher.cs +++ b/app/Input/InputDispatcher.cs @@ -112,6 +112,7 @@ namespace GHelper.Input hook.RegisterHotKey(ModifierKeys.Control, Keys.VolumeUp); hook.RegisterHotKey(ModifierKeys.Shift, Keys.VolumeDown); hook.RegisterHotKey(ModifierKeys.Shift, Keys.VolumeUp); + hook.RegisterHotKey(ModifierKeys.Shift | ModifierKeys.Control, Keys.F20); } if (!AppConfig.IsZ13() && !AppConfig.IsAlly()) @@ -276,6 +277,7 @@ namespace GHelper.Input { if (e.Key == keyProfile) modeControl.CyclePerformanceMode(); if (e.Key == keyApp) Program.SettingsToggle(); + if (e.Key == Keys.F20) KeyProcess("m3"); } if (e.Modifier == (ModifierKeys.Control))