PREV TOC HOME INDEX NEXT


5.5.2 Handling Keyboard Input Events

There is an endless loop {while(1)} in the main( ) function in the Main.cpp file. In that loop, the application waits forever for a keyboard event by calling the waitForKey( ) function. The event must be handled immediately and event-specific information should be retrieved before the next call to waitForKey( ).

When the next event occurs or when a time-out is reached, the waitForKey( ) returns and the call-back handler function is called automatically.


PREV TOC HOME INDEX NEXT

Click here to contact Telecom Support Resources

Copyright 2002, Intel Corporation
All rights reserved
This page generated September, 2002