Basic Mouse Events for jit.window and jit.pwindow

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.

Published

Creative Commons License

Author