10 #ifndef __BRP_BALTECH_API_CMDS_KEYBOARD_H__ 11 #define __BRP_BALTECH_API_CMDS_KEYBOARD_H__ 12 #include "../typedefs.h" brp_errcode brp_Keyboard_EnableWakeup(brp_protocol protocol, bool Enable)
Enables the keyboard wake-up feature.
brp_errcode brp_Keyboard_CurrentKey(brp_protocol protocol, unsigned *Key)
Returns the keycode of the currently pressed key.
unsigned int brp_errcode
This type is used library-wide for passing error codes in the return value of functions.
struct brp_protocol_t * brp_protocol
This is a generic handle of a protocol.
brp_errcode brp_Keyboard_Exist(brp_protocol protocol, bool *KeyboardConnected)
Checks if a keyboard is connected.
brp_errcode brp_Keyboard_WaitForKey(brp_protocol protocol, unsigned Timeout, unsigned *Key)
Waits until a key press is detected.