Hi!
I would like to record the mouse’s mouvement when working on a software like photoshop.
The code below is perfect but how to use it when the mouse is on another window ?
void setup() {
size(640, 360);
background(102);
}
void draw() {
stroke(255);
if (mousePressed == true) {
line(mouseX, mouseY, pmouseX, pmouseY);
}
}
Hope we can find a solution !
I have never use code before beware !