Mouse/keyboard event callback model
Processing queues mouse and keyboard state changes and fires dedicated once-per-event callback functions at the end of each draw() frame, separate from continuously-polled state like mouseX or key.
Processing queues mouse and keyboard state changes and fires dedicated once-per-event callback functions at the end of each draw() frame, separate from continuously-polled state like mouseX or key.