technique

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.

Also called: event functions · mousePressed/keyPressed callbacks · Processing event flow

What it is

How it works

Parameters & tuning

Where it’s been used

Variants & neighbours

Go deeper


Revision 1 · 1 source · Something wrong? Tell us.