'How do I move my cursor to specific coordinates on another screen?
My goal is to move the cursor to the middle of a specified screen. If I pass the GraphicsDevice to the Robots constructor, it uses the coordinates of this screen, but if I call robot.mouseMove(x,y), the cursor always stays on the default screen.
If I try to handle all screens as one big virtual screen, I have the problem that if they are not the same resolution, Y = 0 on a larger screen is not Y = 0 on a smaller one. (As seen in the attached image)
Is there any easier way to move the cursor to a specific screen?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
