SnosMe/uiohook-napi

`mousemove` event not triggered when mouse is dragging

apolkingg8 opened this issue · 2 comments

As the title, mousemove event is not triggered when the mouse is dragging. Is this an expected behavior?

OS: Win10
Electron: 18.3.3
lib: 1.3.0

It's indeed not triggered

case EVENT_MOUSE_MOVED:
// case EVENT_MOUSE_DRAGGED:
case EVENT_MOUSE_WHEEL: {
user_dispatcher(event);
break;
}

I want to review that part and make sure it aligns with how Web events work.

I created a simple test. In the web environment, the mousemove event will be triggered when the mouse is dragging. You can try it here: https://jsfiddle.net/apolkingg8/oh46Ldzf/6/