helloeveryone, I'm new here,and comeswith a fewquestionsfor my firstprojectprocessing. In short,I want to showgraphicallythe movementsof the mousein thedesktop,theclick, thescroll, etc..
full-screen Imageshowsevery few minutesthemouse actions. (for the momentthere is also theprocessingwindowwhich follows the movementin real time,but it will behiddenlater). My projectcan approachthis type of application:http://iographica.com/, althoughdifferent infunctionality.
For now,I canfollow the mouseandsave the image.there is the code:
// When the timer starts it stores the current time in milliseconds.
savedTime = millis();
}
// The function isFinished() returns true if 5,000 ms have passed.
// The work of the timer is farmed out to this method.
boolean isFinished() {
// Check how much time has passed
int passedTime = millis()- savedTime;
if (passedTime > totalTime) {
return true;
} else {
return false;
}
}
}
But how toproperly openthe image asa screen saver? I tried with"open", with nosuccessyet. Do you know if we can correctly do it with a pde file? Maybe there is an other way do display the result in a fullscreen image.
Do you know howto recognizethe clicksand thescroll?I imagine I have to createa java MouseEvent, becauseI had nogood result withmousePressed,mouseClicked. Sorry formy Englishis notmynative language. Thank you in advancefor your interestandadvice!