Basic Mouse Events for jit.window and jit.pwindow
Please note that we are no longer taking submissions for Tools and no longer supporting the Tools section, so you may run into broken files and URLs. You can contribute to the Cycling '74 Community by submitting a Package or using the forums instead.
Implementation of basic mouse events in jit.window and jit.pwindow. Detects click, vs. doubleclick and drag, as well as what modifier keys are pressed when user clicks.
Sends a message via max send to symbol mouseevents with the type of event, coordinates of the click according to the openGL world, and what modifier keys were pressed (if none, it sends null).
All coordinates are based on screentoworld, for openGL drawing according to mouse events.
Download this tool
Author