C API for BALTECH SDK

§ brp_Keyboard_CurrentKey()

brp_errcode brp_Keyboard_CurrentKey ( brp_protocol  protocol,
unsigned *  Key 
)

Returns the keycode of the currently pressed key. This function does not perform any key buffering or key repeating avoidance operation.

Parameters
[in]protocolused to execute the command
[out]KeyThe keycode of the currently pressed key.