gmamaladze / globalmousekeyhook

This library allows you to tap keyboard and mouse, detect and record their activity even when an application is inactive and runs in background.
MIT License
1.04k stars 257 forks source link

[HELP] Wanting to detect KeyUp from LWin/RWin but only when no other key is pressed #173

Closed rayzorben closed 1 year ago

rayzorben commented 1 year ago

I am able to successfully handle LWin/RWin and detect when KeyUp occurs for it. The problem is that it also occurs when pressing WIN+A for example or any other combination such as CTRL+WIN+RIGHT.

I looked through the code, and can't find how to accomplish what I am looking for. Combination class has a TriggeredBy which also works, but also triggers on WIN+A and others. Also, Combination repeats constantly while the combination is being held down.

Any tips for accomplishing this would be appreciated.