Chapter 41
More:
About Processing Events and Keystrokes
Reading the Keyboard vs. Getting an Event
Reading the Keyboard Buffer
Reading Events from the Event Queue
Processing Events Directly Using Event Tables
Creating and Using a New Event Table
Related Information