ESP32-BLE-Gamepad
ESP32-BLE-Gamepad copied to clipboard
'NimBLEHIDDevice' does not name a type; did you mean 'NimBLEDevice'?
Getting this message when trying to verify a very basic sketch that just initializes a BleGamepad:
In file included from C:\Users\---\AppData\Local\Temp\.arduinoIDE-unsaved2024327-23876-1d2cf2o.t5zo\sketch_apr27a\sketch_apr27a.ino:2:
c:\Users\---\Documents\Arduino\libraries\ESP32-BLE-Gamepad/BleGamepad.h:41:5: error: 'NimBLEHIDDevice' does not name a type; did you mean 'NimBLEDevice'?
NimBLEHIDDevice *hid;
^~~~~~~~~~~~~~~
NimBLEDevice
exit status 1
Board: Xiao ESP32C3 ESP32-BLE-Gamepad version: 5.4 NimBLE-Arduino version: 1.4.1 Please let me know if I need to provide any other information