We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello, I am trying to make a drawing app that draws lines when the mouse is dragged across the screen. I am then wanting to export what is drawn, to a VJ application that will be projecting over the active window (so the VJ application's output will be what is visible and the processing window will be hidden).
Is there a way to make mouseX and mouseY be tracked even if the window is not active?
Relatedly: Is there a simpler way to this, a way other than hiding the Processing window under my VJ application output window?
Also, is there a way to track mouse position outside of the drawing window? (So that the draw window could be on one monitor, and the mouse position tracked on a second?) Thanks.
Answers
See Global keyboard/mouse hook in processing?
Thanks for the reference--for the record I did search ahead of time and didn't find that thread.
Bah, some searches are less obvious than others (I knew the topic was there! just searched it in the right category... Hence the need to properly select them!)
And the search of this forum isn't very reliable (and searches only in the forum; better use the search from Processing.org).