Mouse wrap around monitor / extend cycle of mouse around screen

Is there a way in Processing to make the mouse cycle around the screen and keep giving mouseX/mouseY positions? This would be for games that use a trackball or spinner.

I’m able to use a third party program (CursorUS) to make the mouse wrap but then have to write code in Processing to increment or decrement the positions based on the direction of mouse wrap.
Thanks!

1 Like

Look at robot- a library - here in the forum

1 Like