How corecometindustries/comet-air-mouse works
COMET AIR MOUSE is ESP32-C3 firmware that turns motion and button input into a BLE HID mouse. The documented workflow is: boot-time gyro calibration, filtered motion tracking and button gestures, then BLE mouse actions for a paired host. The README documents these capabilities but no source excerpts were provided, so internal handoffs are shown as unverified rather than inferred as confirmed calls.
Main entry points: ESP32-C3-AIR-MOUSE.ino BLE HID mouse
Components 8
Physical Inputs
- MPU6050
- Left/right buttons
Input Processing
- Gyro calibration
src/ESP32-C3-AIR-MOUSE/ESP32-C3-AIR-MOUSE.ino - Motion filtering
src/ESP32-C3-AIR-MOUSE/ESP32-C3-AIR-MOUSE.ino - Click/scroll gestures
src/ESP32-C3-AIR-MOUSE/ESP32-C3-AIR-MOUSE.ino
BLE Mouse Output
- BLE HID mouse
src/ESP32-C3-AIR-MOUSE/ESP32-C3-AIR-MOUSE.ino
Other components
- User
- Paired host
Connections 10
- User → MPU6050: moves device
README.md - MPU6050 → Gyro calibration: calibrates at boot
README.md - MPU6050 → Motion filtering: tracks motion
README.md - Gyro calibration → Motion filtering: offsets motion
- Motion filtering → BLE HID mouse: sends cursor movement
README.md - User → Left/right buttons: presses
README.md - Left/right buttons → Click/scroll gestures: detects press duration
README.md - Click/scroll gestures → BLE HID mouse: sends clicks/scrolls
README.md - Paired host → BLE HID mouse: pairs
README.md - BLE HID mouse → Paired host: emits HID actions
README.md