You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to catch ScrollLock based keycombo's with your codebase? Currently ScrollLock is detected, but as soon as a second key is pressed, the ScrollLock part disappears.
I've had some users (HASS.Agent) ask for it, and thought I'd ask you first before trying myself.
Thanks again for sharing your amazing library :)
The text was updated successfully, but these errors were encountered:
On detecting the ScrollLock key, I believe the method Control.IsKeyLocked([key]) can do the trick very easily. You can also conditionally combine the key lock's detection with your already registered key combo without registering the ScrollLock key as part of your registered hotkey.
Here's an example you can try:
if((e.Hotkey==myHotkey)&&Control.IsKeyLocked(Keys.Scroll)){// Your actions here...}
This though is definitely a worthwhile feature request I'll be eyeing out for a future release.
Hi @Willy-Kimura,
Would it be possible to catch ScrollLock based keycombo's with your codebase? Currently ScrollLock is detected, but as soon as a second key is pressed, the ScrollLock part disappears.
I've had some users (HASS.Agent) ask for it, and thought I'd ask you first before trying myself.
Thanks again for sharing your amazing library :)
The text was updated successfully, but these errors were encountered: