![]()  | 
     BALTECH Docs | 
    C API for BALTECH SDK
   
    
   
   | 
   
| brp_errcode brp_Keyboard_WaitForKey | ( | brp_protocol | protocol, | 
| unsigned | Timeout, | ||
| unsigned * | Key | ||
| ) | 
Waits until a key press is detected.
| [in] | protocol | used to execute the command | 
| [in] | Timeout | Time in milliseconds to wait for a key press. If no key press is detected within this time, Keyboard.WaitForKey returns KBD_KEY_NONE (0). | 
| [out] | Key |