C API for BALTECH SDK

§ brp_Keyboard_WaitForKey()

brp_errcode brp_Keyboard_WaitForKey ( brp_protocol  protocol,
unsigned  Timeout,
unsigned *  Key 
)

Waits until a key press is detected.

Parameters
[in]protocolused to execute the command
[in]TimeoutTime 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