Set Mouse Position
in
Programming Questions
•
2 years ago
hello,
how can I Set Mouse Position artificially?
E.g. 1. want to have my mouse centered at the beginning.
E.g. 2. Also when I have a first Person game (see in this forum 1st person perspective:
http://forum.processing.org/topic/1st-person-perspective) I want to look around endlessly.
I have the problem, when the mouse reaches the left border of my screen the movement ends.
I want to reset the mouse in the middle of the screen.
(But I consider this to be the wrong approach because then there would be a too sudden movement in the 1st person game).
The solution via robot I consider to be to complicated.
Greetings,
Chris
1