A DIY Air Mouse based on ESP32 and MPU6050
Installation
Make sure you can use the ESP32 with the Arduino IDE. https://github.com/espressif/arduino-esp32#installation-instructions
Download the MPU6050 liberary from https://github.com/jrowberg/i2cdevlib/tree/master/Arduino/MPU6050
Download the latest release of the ESP32 BLE Mouse library from https://github.com/T-vK/ESP32-BLE-Mouse
In the Arduino IDE go to "Sketch" -> "Include Library" -> "Add .ZIP Library..." and select the file you just downloaded.
Then open and upload the file "air_mouse.ino" to get started...