Replies: 1 comment
-
maybe something like this must be considered as well: // LWin and RWin keys will implicitly set Windows key modifier
if (upper.Contains("WIN+", StringComparison.InvariantCulture) ||
upper.EndsWith("LWIN", StringComparison.InvariantCulture) ||
upper.EndsWith("RWIN", StringComparison.InvariantCulture))
{
modifiers |= ModifierKeys.Windows;
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The following code is not looking for modifiers by accounting "+" into its search:
SystemTrayMenu/Helpers/KeyboardHook.cs
Lines 64 to 90 in 4cf4b98
There is a better "version" of the same function already here:
SystemTrayMenu/UserInterface/HotkeyTextboxControl/HotkeyControl.cs
Lines 183 to 208 in 4cf4b98
Maybe just us it as in this example of v2:
SystemTrayMenu/Helpers/KeyboardHook.cs
Lines 42 to 47 in f55af05
Beta Was this translation helpful? Give feedback.
All reactions