ESP32-BLE-Keyboard icon indicating copy to clipboard operation
ESP32-BLE-Keyboard copied to clipboard

Mouse Movement not working under Windows 10

Open mpeill opened this issue 1 year ago • 2 comments

Using the latest release, Oct 2020. The BLEmouse pairs/connects as Bluetooth device on Windows 10, but as "Other Device" rather than "Mouse", and there is no mouse movement, even though the device remains connected. Any ideas gratefully received.

mpeill avatar Jan 31 '24 13:01 mpeill

Hi ! I had the same problem, use this lib : https://github.com/wakwak-koba/ESP32-NimBLE-Mouse

Altarax avatar Feb 15 '24 15:02 Altarax

Thanks for the advice. I admit to not being an experienced coder, but: I replaced all the files within "ESP BLE Mouse" with the ones from your above library, and on compiling I get errors warning that it can't find NimBLE files, see below. Can you offer any advice on how to resolve this (or am I asking too much):

In file included from .pio/libdeps/az-delivery-devkit-v4/ESP32 BLE Mouse/BleConnectionStatus.cpp:1: .pio/libdeps/az-delivery-devkit-v4/ESP32 BLE Mouse/BleConnectionStatus.h:6:10: fatal error: NimBLEServer.h: No such file or directory


  • Looking for NimBLEServer.h dependency? Check our library registry!
  • CLI > platformio lib search "header:NimBLEServer.h"
  • Web > https://registry.platformio.org/search?q=header:NimBLEServer.h

#include <NimBLEServer.h> ^~~~~~~~~~~~~~~~ compilation terminated. .pio/libdeps/az-delivery-devkit-v4/ESP32 BLE Mouse/BleMouse.cpp:1:10: fatal error: NimBLEDevice.h: No such file or directory


  • Looking for NimBLEDevice.h dependency? Check our library registry!
  • CLI > platformio lib search "header:NimBLEDevice.h"
  • Web > https://registry.platformio.org/search?q=header:NimBLEDevice.h

#include <NimBLEDevice.h> ^~~~~~~~~~~~~~~~ compilation terminated. In file included from .pio/libdeps/az-delivery-devkit-v4/ESP32 BLE Mouse/BleMouse.h:6, from src/main.cpp:2: .pio/libdeps/az-delivery-devkit-v4/ESP32 BLE Mouse/BleConnectionStatus.h:6:10: fatal error: NimBLEServer.h: No such file or directory


  • Looking for NimBLEServer.h dependency? Check our library registry!
  • CLI > platformio lib search "header:NimBLEServer.h"
  • Web > https://registry.platformio.org/search?q=header:NimBLEServer.h

#include <NimBLEServer.h> ^~~~~~~~~~~~~~~~ compilation terminated. *** [.pio\build\az-delivery-devkit-v4\libb9c\ESP32 BLE Mouse\BleConnectionStatus.cpp.o] Error 1 *** [.pio\build\az-delivery-devkit-v4\libb9c\ESP32 BLE Mouse\BleMouse.cpp.o] Error 1 *** [.pio\build\az-delivery-devkit-v4\src\main.cpp.o] Error 1 ==================[FAILED] Took 6.30 seconds

mpeill avatar Feb 20 '24 11:02 mpeill