From 344d4326284d0590938d1c16c571ca4d6fbf5f17 Mon Sep 17 00:00:00 2001 From: Matthias Seys <32166289+MSeys@users.noreply.github.com> Date: Mon, 13 Nov 2023 19:17:04 +0100 Subject: [PATCH] bugfix - fixes Hotkey output using OSK (#825) --- HandheldCompanion/Managers/InputsManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HandheldCompanion/Managers/InputsManager.cs b/HandheldCompanion/Managers/InputsManager.cs index 19fe44bf7..dde7cac31 100644 --- a/HandheldCompanion/Managers/InputsManager.cs +++ b/HandheldCompanion/Managers/InputsManager.cs @@ -268,7 +268,7 @@ private static void M_GlobalHook_KeyEvent(object? sender, KeyEventArgs e) var Injected = (args.Flags & LLKHF_INJECTED) > 0; var InjectedLL = (args.Flags & LLKHF_LOWER_IL_INJECTED) > 0; - if (Injected || InjectedLL) + if ((Injected || InjectedLL) && currentType != ListenerType.Output) return; var hookKey = (KeyCode)args.KeyValue;