Interface for Bluetooth LE keyboard functionality.
virtual void write(uint8_t key)=0
Sends a single key press.
virtual void print(const char *text)=0
Sends a text string.
Base class for all sendable actions.
IBleKeyboard * bleKeyboard
Pointer to BLE keyboard interface.
SendAction(IBleKeyboard *bleKeyboard)
Constructs a SendAction.
SendCharAction(IBleKeyboard *bleKeyboard, char k)
Constructs a SendCharAction.
void send() override
Executes the character send action.
void send() override
Executes the key send action.
SendKeyAction(IBleKeyboard *bleKeyboard, uint8_t k)
Constructs a SendKeyAction.
void send() override
Executes the string send action.
SendStringAction(IBleKeyboard *bleKeyboard, std::string t)
Constructs a SendStringAction.
uint8_t[2] MediaKeyReport
Type alias for media key reports.