Win10, Win11
2 monitors, main landscape 1080p, secondary portrait 1080 on the right side.
Problem
The mouse destination does not match the intended location because or device_query using coordinates relative to the main screen (can be negative) while rdev uses absolute (top left is 0,0).
The MouseMove is attempting to get to y=-802 instead of y=-222 but gets stuck at y=-580 (the top most of my secondary screen)
There currently does not exist a method to query the secondary screen sizes to allow the conversion from the relative->absolute and vice versa.
Proposal
Add functionality to be able to query display sizes of secondary displays
Test setup
Win10, Win11 2 monitors, main landscape 1080p, secondary portrait 1080 on the right side.
Problem
The mouse destination does not match the intended location because or
device_query
using coordinates relative to the main screen (can be negative) whilerdev
uses absolute (top left is 0,0).The
MouseMove
is attempting to get toy=-802
instead ofy=-222
but gets stuck aty=-580
(the top most of my secondary screen)There currently does not exist a method to query the secondary screen sizes to allow the conversion from the relative->absolute and vice versa.
Proposal
More info
https://github.com/MrTanoshii/rusty-autoclicker/issues/47