|
AwesomeStudioPedal
A programmable, multi-profile foot controller for DAWs, score readers, and studio automation
|
Adapter that implements IBleKeyboard interface using BleKeyboard. More...
#include <ble_keyboard_adapter.h>
Public Member Functions | |
| BleKeyboardAdapter (BleKeyboard &kb) | |
| Constructs a BleKeyboardAdapter. | |
| void | begin () override |
| Initializes the BLE keyboard. | |
| bool | isConnected () override |
| Checks if BLE keyboard is connected. | |
| void | write (uint8_t key) override |
| Sends a single key press. | |
| void | write (const MediaKeyReport key) override |
| Sends a media key report. | |
| void | print (const char *text) override |
| Sends a text string. | |
| void | begin () override |
| Initializes the BLE stack and HID keyboard service. | |
| bool | isConnected () override |
| Checks if a central device is connected. | |
| void | write (uint8_t key) override |
| Sends a single key press. | |
| void | write (const MediaKeyReport key) override |
| Sends a media key report. | |
| void | print (const char *text) override |
| Sends a text string. | |
Public Member Functions inherited from IBleKeyboard | |
| virtual | ~IBleKeyboard ()=default |
Adapter that implements IBleKeyboard interface using BleKeyboard.
nRF52840-specific implementation of IBleKeyboard interface
Concrete implementation that wraps the BleKeyboard library to provide the IBleKeyboard interface. This allows the pedal logic to work with the actual BLE keyboard hardware.
Wraps the Adafruit Bluefruit BLE HID keyboard (BLEHidAdafruit) to provide the IBleKeyboard interface used by the pedal logic layer.
Definition at line 17 of file esp32/include/ble_keyboard_adapter.h.
|
inlineexplicit |
Constructs a BleKeyboardAdapter.
| kb | Reference to the BleKeyboard instance to wrap |
Definition at line 26 of file esp32/include/ble_keyboard_adapter.h.
|
inlineoverridevirtual |
Initializes the BLE keyboard.
Delegates to the underlying BleKeyboard begin() method.
Implements IBleKeyboard.
Definition at line 33 of file esp32/include/ble_keyboard_adapter.h.
|
overridevirtual |
Initializes the BLE stack and HID keyboard service.
Implements IBleKeyboard.
|
inlineoverridevirtual |
Checks if BLE keyboard is connected.
Implements IBleKeyboard.
Definition at line 40 of file esp32/include/ble_keyboard_adapter.h.
|
overridevirtual |
|
inlineoverridevirtual |
Sends a text string.
| text | String to send as keyboard input |
Implements IBleKeyboard.
Definition at line 61 of file esp32/include/ble_keyboard_adapter.h.
|
overridevirtual |
|
inlineoverridevirtual |
Sends a media key report.
| key | Media key report to send |
Implements IBleKeyboard.
Definition at line 54 of file esp32/include/ble_keyboard_adapter.h.
|
overridevirtual |
|
inlineoverridevirtual |
Sends a single key press.
| key | USB HID key code to send |
Implements IBleKeyboard.
Definition at line 47 of file esp32/include/ble_keyboard_adapter.h.
|
overridevirtual |