Callback for handling mouse events, given the latest mouse events (since last update) as well as the previous.
Callback for handling mouse events, given the latest mouse events (since last update) as well as the previous.