Separate module for figuring out intent of mouse events.