-
-
Notifications
You must be signed in to change notification settings - Fork 40
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Short overview
The current implementation uses SetCursorPos for mouse movment.
We might consider using SendInput like we do for scrolling and keyboard input.
Use case
Automating multimedia applications like e.g. games
Detailed description
As reported in nut-tree/nut.js#168 it is currently not possible to cause in-game mouse movement with nut.js, although desktop mouse movement works fine.
A possible reason for this could be the usage of SetCursorPos
instead of SendInput
.
Following the above mentioned docs it seems like SetCursorPos
is more desktop centered, whereas SendInput
actually inserts events into the keyboard and mouse inputstream.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request