Edgepad turns an Android phone into a trackpad, a media remote and a control panel for a Windows laptop, a Mac or a Linux laptop, over a direct Bluetooth link with nothing in between. Bluetooth is the default; Wi-Fi and USB connections are optional, and off until you turn them on.
It is for the times the laptop is across the room rather than under your hands: plugged into a television, docked on a desk you are not sitting at, parked somewhere a mouse dongle will not reach. The alternatives are a remote app that only sends media keys, or a remote-desktop app that streams the whole screen and wants an account and a network round trip to change the volume. Edgepad is neither. The phone and the laptop pair once, the way a headset does, and after that they talk directly: no account, no service in between that can be slow or down, and no Wi-Fi needed. The cost of the default link is Bluetooth's own — both ends need it, and it does not reach another room or the internet; the optional Wi-Fi and USB connections trade that for a one-time code.
Mac and Linux are still in testing. Please use them at your own risk. The Windows app is the one that has been run on a real laptop; the Mac app has been compiled and unit-tested in CI, and the Linux app has not been seen working on a Linux laptop yet. Expect rough edges, and report what you find.
Both apps come from the latest release, under Assets. Each file is named for its release, so Edgepad-4.0.0.exe and Edgepad-4.0.0.apk are the two halves of 4.0.0; on a Mac the laptop half is Edgepad- -mac.zip, from 3.4.0, and on Linux Edgepad- -linux-x64.tar.gz, from 4.0.0. Always install both from the same release: the two refuse each other at the handshake when their protocol versions differ, and say so. 3.0.0 moved the protocol from version 3 to version 4, so a 2.x app on either side will not talk to a 3.x one — update both halves together or neither connects. 4.0.0 moves it to version 5, so a 3.x app will not talk to a 4.x one either. Releases after 3.1.1 also carry SHA256SUMS.txt, and gh attestation verify Edgepad- .apk --repo akshit-bansal11/edgepad checks that a file was built by this repository's release workflow.
Running a newer release's exe asks the running copy to quit and takes its place. From 3.3.0 the tray app asks GitHub once a day whether a newer release exists, and shows an Update available row at the top of its menu when one does.
Optional, for the gamepad: ViGEmBus. The gamepad works without it — every control can be bound to a keyboard key, and keys are what the pad sends on a laptop with no controller driver, which is the state most laptops are in. Install ViGEmBus and Edgepad plugs a virtual Xbox controller into Windows instead, so the sticks and triggers carry their full analog range and a game that only ever accepted a controller can be played from the phone. It is a third-party kernel driver, signed as Windows requires of one, and you install it yourself; Edgepad neither bundles nor installs it. You never have to guess which of the two you are in: the laptop answers every request for the controller, and the gamepad screen says keyboard mode and which of the three reasons it was, rather than being quietly dead.
One download covers Apple Silicon and Intel. The Mac app was compiled and unit-tested in CI before its first run on a real Mac, so expect rough edges and report them.
Because the signature is ad hoc, macOS treats every new version as a different app, so the Device Control permission has to be granted again after each update: remove the old Edgepad entry in the list, then add the new one.
Still in testing; use it at your own risk. docs/LINUX.md lists everything that has not been seen working.
Download Edgepad- -linux-x64.tar.gz and check it against SHA256SUMS.txt.
tar xzf Edgepad- -linux-x64.tar.gz cd edgepad- sudo ./install.sh # or: sudo ./install.sh /opt/edgepad to install under another prefix Log out and back in once, so your session gets access to /dev/uinput. Then start Edgepad from the launcher, or run edgepad.
install.sh only copies files and loads a module; it downloads nothing. It puts edgepad in /bin (the prefix defaults to /usr/local), the launcher entry in /share/applications, the icon in /share/icons/hicolor/scalable/apps, a udev rule in /etc/udev/rules.d/60-edgepad-uinput.rules and uinput in /etc/modules-load.d/edgepad.conf, then runs modprobe uinput and reloads udev. Uninstall with sudo ./install.sh --uninstall (same prefix, if you gave one); your settings in ~/.config/edgepad stay.
The app is a self-contained single file, so .NET need not be installed. It does need:
On Wayland, the layer annotate draws on runs under XWayland and the compositor may ignore its always-on-top request, so annotate is best effort: Edgepad offers it to the phone only when it can work, and the phone hides the Annotate tile otherwise. The shortcuts behind task view, show desktop, search, notifications and switching desktops differ per desktop; the GNOME and KDE tables were written from memory and are unverified, and on any other desktop those actions do nothing. Macros are a text file you edit by hand, ~/.config/edgepad/macros.txt; there is no editor on Linux yet.
Bluetooth stays the default. On Windows, Linux and the Mac, the tray or menu-bar Wi-Fi and USB connections switch (off until you turn it on) makes the laptop listen on port 47321, or a free port the menu shows, and announce itself on the local network. A phone pairs once: it shows a six-digit code and you type it into the window the laptop opens; after that it reconnects without asking. On Windows, Allow through Windows Firewall… adds the inbound rule; on Linux a firewall may need ufw allow 47321/tcp and ufw allow 5353/udp. USB tethering is not supported on a Mac. The phone's half of this, finding the laptop from a phone and USB tethering have not been tried on real devices yet.
Out of the box, three fingers left and right switch desktops, three up opens task view, three down shows the desktop, four fingers left and right walk the app switcher (Alt stays held while the fingers are down), and tapping searches or opens notifications. Every one of those is changed under Surface settings › Gestures.
The lock in the middle of that row is the one button that changes the surface instead of opening a screen. One tap hides the dials and the media and leaves the trackpad; a second tap straight after locks the trackpad instead and puts the dials and the media back, so the phone can sit in a pocket or under a palm and answer only its rulers. Any later tap returns the whole surface. The mode is not stored: a phone that came back up silently locked would read as broken.
Set in the laptop's tray or menu-bar menu under Security…, never from the phone.
The phone asks on its own keypad, so no keyboard app sees the digits; it never stores the PIN, and the screen cannot be captured. A wrong answer shows the attempts left; after five wrong answers the laptop refuses that phone for 30 seconds, doubling with each further five, up to an hour. The counters are kept in memory, so quitting the laptop app resets them. Changing the PIN or the level makes every phone enter the PIN again.
A forgotten PIN can only be reset on the laptop, with Reset PIN and forget phones…. That removes the PIN, goes back to level 1 and forgets every trusted phone, so each one is asked Trust this phone? again. A six-digit PIN is only a million values, so what stops guessing is the lock-out; it does not protect against someone who can copy the laptop's settings file. The laptop stores only a salted hash of it.
Controls on the surface opens a grid of Keyboard, Gamepad, Macros, Annotate and Capture. A laptop shows only what it can do, so a phone shows no Annotate tile when the laptop does not offer it.
Annotate draws on the laptop's primary display, with the phone as an absolute pen. Sign is the same pad without the overlay; Save signature copies a transparent PNG to the clipboard and saves it as signature-yyyyMMdd-HHmmss.png in an Edgepad folder, never overwriting an earlier one:
Capture presses the laptop's own screenshot shortcut; the phone has a trackpad under the buttons to drag out the region. Save to: Laptop | Phone chooses where the file ends up: with Phone, the laptop sends what its own tool just saved and deletes its copy only once the phone has saved it (Pictures/Edgepad or Movies/Edgepad) with a matching SHA-256. Images over 50 MB and videos over 200 MB stay on the laptop. Unverified on real laptops.
Pointer, click, drag, scroll, typing, the on-screen keyboard, the corner dials for volume, brightness and refresh rate, play/pause, next, previous and lock all work as on Windows. What differs is by design:
Macros are edited under Macros… in the menu bar: add, edit, remove, reorder, browse for an app or file, and an optional icon. Files, folders and web addresses are opened; for an .app, arguments are split on spaces with no quoting.
Not in the Mac app yet: now playing (title, app, position and seeking; the transport buttons still work), the on-screen level readout, and the virtual game controller (the gamepad screen says keyboard mode, because there is no driver; controls bound to keys work).
The laptop app logs to %LOCALAPPDATA%\Edgepad\edgepad.log (also in the tray menu): connections, refusals, dropped frames, and input batches Windows refused because an elevated window had focus.
On a Mac the log is ~/Library/Logs/Edgepad/edgepad.log (also Open log in the menu). The usual cause of a connected phone that moves nothing is that input control (Device Control and Data Access) has not been granted, or has to be granted again after an update: see the Mac install steps above.
If the phone says the laptop hung up before the handshake (an older phone app shows read failed, socket might closed or timeout, RET:-1) and the Mac log says the link is not encrypted (mode 0), update the Mac app. The old encryption check can reject an encrypted connection on macOS 27; pairing again does not fix that check.
Task Manager, and anything run as administrator, ignores the phone unless Edgepad itself runs as administrator: Windows blocks input from an ordinary program into an elevated one. Quit Edgepad from its tray icon, then right-click the exe › Run as administrator. Macros then open programs as administrator too. The lock screen, UAC prompts and Ctrl+Alt+Del cannot be reached at all: they run on Windows' secure desktop, which no program can send input to, elevated or not.
Each screen has its own settings behind its own gear.
The phone recognises gestures and sends small semantic frames: move the pointer by so much, press a button, scroll, run action 3, set control 0 to 55, here is the whole controller. The laptop owns the table of what each action does and executes it with the platform's input, audio, display and media APIs (Windows', or on a Mac CGEvent and Core Audio), so a macro slot can never be repointed from the phone and an id the laptop does not know is dropped rather than misexecuted. That table is a versioning seam, not a wall: the keyboard screen sends raw Windows virtual-key codes and the characters you type, and the laptop injects both directly, so a paired phone can do anything the laptop's own keyboard can. What keeps that safe is the Bluetooth pairing and the trusted phone above — SECURITY.md sets out both boundaries in full. The laptop sends its own state back (volume, mute, brightness, what is playing) so the dials show real values.
The default transport is Bluetooth Classic RFCOMM (IOBluetooth on a Mac): an ordered, encrypted byte stream between two already-paired devices, with no server, no discovery and no network. The optional Wi-Fi and USB connections instead listen on port 47321 on the laptop, and a phone pairs once with a six-digit code. Frames are 2 to 258 bytes and go out in a single write per batch; a backlog of pointer moves collapses into one before it is sent, so a slow link catches up instead of lagging.
The full documentation is at edgepad.akshitbansal.dev/docs — install, the control surface, all three apps' architecture, the wire protocol and the developer guide on one page, with the protocol tables generated from the same fixtures both test suites read. In the repository: docs/ARCHITECTURE.md describes the apps, their threads and their trust model. docs/PROTOCOL.md is the wire format. CHANGELOG.md lists what each release changed.
The code is MIT-licensed, so you can build it, change it and run your own copy. To send a change back, fork the repository on GitHub, then clone your fork:
git clone https://github.com/ /edgepad.git cd edgepad git remote add upstream https://github.com/akshit-bansal11/edgepad.git # to pull in later changes The repository is a monorepo:
Either half can be worked on alone, so install only what the part you are changing needs.
One script checks all three apps. It formats, lints, builds and tests; CI runs the same script in its non-mutating mode, so the local gate and CI cannot disagree.
pwsh scripts/check.ps1 # formats in place, then checks everything pwsh scripts/check.ps1 -Only android # ktlint, Android lint (warnings are errors), unit tests pwsh scripts/check.ps1 -Only core # the shared core on its own (CI runs it on Linux): format, build, tests pwsh scripts/check.ps1 -Only linux # the Linux app: format, build, tests (CI runs it on Linux) pwsh scripts/check.ps1 -Only windows # dotnet format, build (warnings are errors), tests pwsh scripts/check.ps1 -Only macos # swift format lint --strict, swift build (warnings are errors), swift test; Mac only pwsh scripts/check.ps1 -Ci # what CI runs: fails on unformatted code instead of fixing it A plain check.ps1 on Windows or Linux skips the Mac half. The site has its own gate, run from site/: npm install once, then npm run check (Biome, ESLint, tsc) and npm run build. site/README.md covers the rest.
Running the apps against each other needs a Windows laptop or a Mac and an Android phone already paired over Bluetooth. CONTRIBUTING.md says what can still be tested without them.
All three suites read the same fixtures. protocol/frames.txt holds every frame type as golden bytes; each codec must encode the fields to exactly those bytes and decode the bytes to exactly those fields. protocol/actions.txt holds the action and control ids; each enum must match it exactly. On top of that, the Android suite covers the gesture recogniser (the whole finger table, assignable actions, natural scrolling), the shape recogniser and the pad's mode table, the stick's dead zone and scaling, the gamepad layout library (name collisions, deletion, reset), the dials (arming, slop, snapping, steppers, haptic notches), the edge geometry, coalescing and the laptop-state model; the Windows suite covers the dispatcher's drop paths, input batches, trust on first use and its prompt, the media-session name mapping, and what a laptop with no controller driver answers; the Mac suite (macos/Tests/EdgepadCoreTests) covers the stream reassembler, the key map, the dispatcher's drop paths and action table, the trust store, the handshake and its refusals, and the update-version parsing. Nothing in the Mac app that touches Bluetooth, CGEvent, Core Audio or the display is tested, and none of it has run on a real Mac. No test sends real input, plugs a controller into the machine running it, or touches a device.
Releases are built and published by the maintainer; CHANGELOG.md lists what each one changed.
Edgepad is free and stays free. If it is useful to you and you would like to say so with money, there are three ways:
A star, a bug report or telling someone about it helps as much.




