wilix-team / iohook

Node.js global keyboard and mouse listener.
https://wilix-team.github.io/iohook
MIT License
1.2k stars 291 forks source link

How can i detect if a mouse drag event is completed using iohook? #216

Closed NirmanSonawane closed 4 years ago

NirmanSonawane commented 4 years ago

In jnativeHook the mouse drag and mouse click movement would both be treated as mouse click at the beginning but iohook detects mouse drag and ignores mouse click event due to which the drag happened. I need some way to detect a mouseClick even if mouseDrag has occurred

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

1. 2. 3. 4.

Context

Your Environment