Mobile Touchpad is a Python-based server-client application that turns your smartphone into a wireless touchpad and keyboard for your computer. It leverages Flask-SocketIO, PyAutoGUI, and QR code-based pairing to offer a seamless, cross-platform remote control experience over Wi-Fi.
- 🖱️ Use your phone as a mouse touchpad
- 🧭 Multi-touch gestures: left-click, right-click, scrolling, dragging
- 🌐 Connect easily with QR code pairing
- ⚡ Real-time interaction over WebSockets
Backend: Python, Flask, Flask-SocketIO, PyAutoGUI, Tkinter, qrcode
Frontend: HTML, CSS, JavaScript
- Clone the repository:
git clone https://github.com/HiPrabel/Mobile-Touchpad.git
- Navigate into the project directory:
cd Mobile-Touchpad - Install dependencies:
pip install -r requirements.txt
- Running the server:
python main.py
- A QR code will appear. Scan it from your mobile browser to start using your phone as a touchpad.
- Mobile browser (Chrome, Brave, etc.)
- Both phone and computer must be connected to the same Wi-Fi network
- Start the server on your PC
- Scan the QR code with your phone
- Use the touch area as a mousepad
| Action | Gesture |
|---|---|
| Move cursor | Slide one finger |
| Left-click | Single tap |
| Right-click | Two-finger tap |
| Scroll | Two-finger drag up/down |
| Drag and Drop | Double-tap and hold, then drag |
This project is licensed under the MIT License.
Pull requests are welcome! Whether it's a new feature or bug fix, feel free to contribute.
For questions or support, please reach out at Prabel Pandey - GitHub [prabel397@gmail.com]