How nexind/motion-mouse works
Motion Mouse is a paired Android–Windows application that uses phone motion or controls to operate a PC. The documented workflow is to discover and connect the phone to the Windows app, then send motion or mode commands to control the PC. The README also describes settings synchronization, calibration, background operation, and Wi-Fi/Bluetooth connectivity. Source code is not present in the provided tree, so internal components and relationships below reflect documented behavior only; implementation paths and uncertain wiring are omitted.
Components 18
Android app
- Android app
- PC discovery
- Motion sensing
- Motion processing
- Phone controls
- Android settings
- Background service
Windows app
- Windows app
- Connection listener
- Settings sync
- Cursor control
- Controller mode
- Media and presentation
Connectivity
- Wi-Fi TCP
- Bluetooth RFCOMM
Other components
- Phone user
- PC user
- PC cursor
Connections 27
- Phone user → Android app: uses
- PC user → Windows app: uses
- Android app → PC discovery: discovers PCs
- PC discovery → Wi-Fi TCP: discovers over
- PC discovery → Bluetooth RFCOMM: discovers over
- Windows app → Connection listener: starts
- Android app → Wi-Fi TCP: connects over
- Android app → Bluetooth RFCOMM: connects over
- Motion sensing → Motion processing: provides sensor motion
- Android app → Motion sensing: reads
- Android app → Phone controls: offers
- Phone controls → Android settings: adjusts
- Android settings → Settings sync: syncs settings
- Settings sync → Android settings: updates settings
- Windows app → Settings sync: provides settings
- Motion processing → Wi-Fi TCP: sends motion
- Motion processing → Bluetooth RFCOMM: sends motion
- Phone controls → Wi-Fi TCP: sends commands
- Phone controls → Bluetooth RFCOMM: sends commands
- Connection listener → Wi-Fi TCP: listens over
- Connection listener → Bluetooth RFCOMM: listens over
- Windows app → Cursor control: handles input
- Cursor control → PC cursor: moves
- Windows app → Controller mode: provides
- Windows app → Media and presentation: provides
- Android app → Background service: runs as
- Background service → Motion sensing: reads motion