WaitKeypress
Causes the application to wait for a keypress and returns the key pressed.
char WaitKeypress(void);
Parameters
- Function does not accept any parameters
 
Return Value
- Function returns the key pressed
 
Remarks
The application must call OpenBeeper before WaitKeypress may be used.
Examples
DisplayText(0, FONT_HEIGHT * 20, "Press any key"); char ch = WaitKeypress(); ClearLCD(); string str = StrFmt("You pressed %c", ch); DisplayText(0, 0, str);
See Also
          
            Last modified
 8 months ago          
          
            Last modified on 03/12/25 07:54:11
          
        
      
  Note:
 See   TracWiki
 for help on using the wiki.
    ![(please configure the [header_logo] section in trac.ini)](/chrome/site/cardinal.gif)