diff options
| author | krolyxon <me@krolyxon.com> | 2026-06-20 00:24:34 +0530 |
|---|---|---|
| committer | krolyxon <me@krolyxon.com> | 2026-06-20 00:24:34 +0530 |
| commit | 7e4cfad53699fabbecb6696508e5addcffc1b095 (patch) | |
| tree | ebff581b0989df578c312247e1dad514c956572b /lib/BleMouse/BleConnectionStatus.cpp | |
| parent | 1f800b74329d4f8b1511b4cf2a0d031439e1038d (diff) | |
restructure to use rust source tree primarily
Diffstat (limited to 'lib/BleMouse/BleConnectionStatus.cpp')
| -rw-r--r-- | lib/BleMouse/BleConnectionStatus.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/BleMouse/BleConnectionStatus.cpp b/lib/BleMouse/BleConnectionStatus.cpp deleted file mode 100644 index 83d3539..0000000 --- a/lib/BleMouse/BleConnectionStatus.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "BleConnectionStatus.h" - -BleConnectionStatus::BleConnectionStatus(void) {} - -void BleConnectionStatus::onConnect(BLEServer *pServer) { - this->connected = true; - BLE2902 *desc = (BLE2902 *)this->inputMouse->getDescriptorByUUID( - BLEUUID((uint16_t)0x2902)); - desc->setNotifications(true); -} - -void BleConnectionStatus::onDisconnect(BLEServer *pServer) { - this->connected = false; - BLE2902 *desc = (BLE2902 *)this->inputMouse->getDescriptorByUUID( - BLEUUID((uint16_t)0x2902)); - desc->setNotifications(false); -} |
