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

Update GlobalMouseListener.cs #157

Closed MarWelz closed 2 years ago

MarWelz commented 2 years ago

Measure the double click time from the first down to the second down, not from the first up to the second down. The Microsoft documentation is not clear, but if you try this with the old code, you see that it is correct: Push left button down and hold it for a few seconds, then quickly do up, down and up again. That's detected by the old code as double click, but Windows does not consider it as double click.