# PocketPad: Use Your Phone as a Precision Trackpad, No App Needed

Apps & experiments · Creator, sole engineer · released

Turn a phone into a precision-style trackpad for Windows, macOS and Linux, with nothing to install on the phone.

Open: https://getpocketpad.vercel.app

## The detail

A small host runs on the computer and prints a QR code. The phone opens a web page, and every gesture from a laptop touchpad works: tap, drag, two-finger scroll and right click, pinch to zoom, three- and four-finger swipes, and an app switcher that follows your hand and lands on an app when you lift.

The phone owns gestures and look-and-feel; the host owns smoothing, validation and input injection. Gesture preferences are read from the PC's own touchpad settings. Three connection modes are supported: router Wi-Fi, the laptop's own hotspot, and USB.

Released as one-file builds for three operating systems, with a pip install and a website. The README states the limit plainly: this is input synthesis, not a registered precision touchpad.

Python, aiohttp, WebSockets, JavaScript, PyInstaller, GitHub Actions.

## What I did

- Built a small host that prints a QR code; the phone opens a web page and becomes the trackpad
- Implemented the full precision-touchpad gesture set, including a live app switcher that follows the hand
- Read gesture preferences from the PC's own touchpad settings instead of inventing a second set
- Added Wi-Fi, hotspot and USB connection modes with a pairing key that changes on every start
- Packaged one-file builds for Windows, macOS and Linux with CI for all three
- Verified gesture recognition in an emulated phone with Playwright touch events

## Stack

Python, aiohttp, WebSockets, JavaScript, Desktop Application, PyInstaller, pytest, CI/CD, Pointer Events

Case study: https://www.siddhvasudev.com/projects/pocketpad-use-your-phone-as-a
