mirror of
https://github.com/T-vK/ESP32-BLE-Keyboard.git
synced 2026-02-20 01:41:32 +01:00
19 lines
451 B
C++
19 lines
451 B
C++
#ifndef ESP32_BLE_KEYBOARD_OUTPUT_CALLBACKS_H
|
|
#define ESP32_BLE_KEYBOARD_OUTPUT_CALLBACKS_H
|
|
#include "sdkconfig.h"
|
|
#if defined(CONFIG_BT_ENABLED)
|
|
|
|
#include <BLEServer.h>
|
|
#include "BLE2902.h"
|
|
#include "BLECharacteristic.h"
|
|
|
|
class KeyboardOutputCallbacks : public BLECharacteristicCallbacks
|
|
{
|
|
public:
|
|
KeyboardOutputCallbacks(void);
|
|
void onWrite(BLECharacteristic* me);
|
|
};
|
|
|
|
#endif // CONFIG_BT_ENABLED
|
|
#endif // ESP32_BLE_KEYBOARD_OUTPUT_CALLBACKS_H
|