Important: The information in this document is obsolete and should not be used for new development.
Reading the Keyboard
The Event Manager reports keyboard events one at a time at your application's request when you use theWaitNextEvent
,EventAvail
, orGetNextEvent
function. In addition to getting keyboard events when the user presses or releases a key, you can directly read the keyboard (and keypad) at any time using theGetKeys
procedure.You can also use the
KeyTranslate
function to convert virtual key codes to character code values using a specified 'KCHR
' resource.
Subtopics
- GetKeys
- KeyTranslate