From a97b2248711c7beb50fa5ebe961539c7c77e7567 Mon Sep 17 00:00:00 2001 From: krolyxon Date: Tue, 5 May 2026 13:10:21 +0530 Subject: remove stubs, add badUSB attacks, add BleMouse library files --- firmware/BleConnectionStatus.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 firmware/BleConnectionStatus.h (limited to 'firmware/BleConnectionStatus.h') diff --git a/firmware/BleConnectionStatus.h b/firmware/BleConnectionStatus.h new file mode 100644 index 0000000..b703150 --- /dev/null +++ b/firmware/BleConnectionStatus.h @@ -0,0 +1,21 @@ +#ifndef ESP32_BLE_CONNECTION_STATUS_H +#define ESP32_BLE_CONNECTION_STATUS_H +#include "sdkconfig.h" +#if defined(CONFIG_BT_ENABLED) + +#include +#include "BLE2902.h" +#include "BLECharacteristic.h" + +class BleConnectionStatus : public BLEServerCallbacks +{ +public: + BleConnectionStatus(void); + bool connected = false; + void onConnect(BLEServer* pServer); + void onDisconnect(BLEServer* pServer); + BLECharacteristic* inputMouse; +}; + +#endif // CONFIG_BT_ENABLED +#endif // ESP32_BLE_CONNECTION_STATUS_H -- cgit v1.2.3