bx_mouse_function is the prototype for functions wanting to be notified on mouse motion, mouse button press, and mouse button release.