•Display
( ): when window must be drawn
•Idle (
): when no other events to be handled
•Keyboard
(unsigned char key, int x, int y): key
•Menu
(...): after selection from menu
•Mouse
(int button, int state, int x, int y): mouse [note error on p.49 of primer]
•Motion
(...): mouse movement (see primer)
•Reshape
(int w, int h): window resize
•Any
callback can be NULL