How can I define an irregular area of the screen and find the closest point to the mouse in that area?
- by JonathonG
I'm looking for a method to define an area of the screen that the mouse cannot leave. I have been directed by rob mayoff, the answerer of this question, that I can use a Quartz Event Tap to detect mouse events. This puts me part of the way to the solution to THIS question.
I need to define an irregular area of the screen, not just a rectangle,…