Skip to content

Commit

Permalink
bugfix - fixes Hotkey output using OSK (#825)
Browse files Browse the repository at this point in the history
  • Loading branch information
MSeys authored Nov 13, 2023
1 parent aa3f123 commit 344d432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HandheldCompanion/Managers/InputsManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 344d432

Please sign in to comment.