Skip to content

Blog ·

Control your PC from your phone with a real trackpad: Kustdesk, built for checking on AI agents

By Khadim Hussain · 8 min read

In short

To control a PC from your phone, install RustDesk on the PC and Kustdesk on your Android phone, then connect with the PC's RustDesk ID and password. Kustdesk is my fork of RustDesk's Android app: the PC screen sits above a real trackpad with left and right buttons and a scroll wheel, and a built-in keyboard with voice typing replaces the phone keyboard. I built it to answer the AI agents running on my laptop when I'm away from it.

Contents

Why I needed to control my PC from my phone

My AI agents run on my laptop: Claude Code sessions, scripts, browser tasks. They don't need me most of the time, but when one stops to ask a question or wants a yes, it waits until I'm back at the desk. If I'm out, the work sits there.

So I wanted my phone to be a proper remote for the laptop. I spent about a month trying remote-desktop apps on my phone, and none of them made clicking and typing feel like using the laptop. RustDesk, which I already used, connects fine; using it was the problem:

  • Clicking felt nothing like a mouse. A right click is a two-finger tap in Mouse mode, and the on-screen mouse floats on top of the PC picture, covering part of it.
  • The phone keyboard covered about 60% of the screen in landscape on my phone, right where the agent's prompt was.
  • Shortcuts didn't arrive. Sent the way RustDesk's key bar sends them, Ctrl+V, the Windows key and Shift did nothing on my Windows 11 laptop.

I built Kustdesk, a fork of RustDesk's Android app, to fix those three.

How do I control my PC from my phone?

  1. Install RustDesk on the PC and note its ID and password. I set a permanent password in RustDesk's security settings, so it doesn't change after each session.
  2. Download the APK from the latest Kustdesk release on GitHub, open it on your Android phone and allow installs from your browser when Android asks. It is signed with a development key rather than a Play Store key, so Play Protect may warn you first.
  3. Enter the PC's ID, then its password. Kustdesk remembers the password by default.
  4. Kustdesk opens upright: the PC screen on top and the trackpad underneath. The rotate button switches to landscape, with the PC screen beside the trackpad, and back.

The PC keeps the stock RustDesk app (1.5.3 in my test). Kustdesk installs next to the normal RustDesk app on the phone, so you can keep both.

Kustdesk on an Android phone in landscape: a Windows PC running Claude Code on the left, a trackpad with LEFT, wheel and RIGHT buttons on the right
Fig. 1 · Trackpad mode in landscape: the PC screen on the left, the trackpad on the right. vivo phone, Android 16, connected to Windows 11, 27 November 2026.

Can I use my phone as a trackpad for my PC?

Yes. In Kustdesk the PC screen fills the top of the phone and a laptop-style trackpad sits underneath, with LEFT and RIGHT buttons and a scroll wheel. Turned to landscape, the two sit side by side. It works over a RustDesk connection, so the PC needs the RustDesk app, and you see what the cursor does without looking at the PC.

How is Kustdesk different from the RustDesk Android app?

A trackpad and real mouse buttons

Under the PC screen, or beside it in landscape, is a laptop-style trackpad. Slide one finger to move the cursor and tap to click; two fingers scroll, and a two-finger tap is a right click.

Under it sit LEFT and RIGHT buttons that press when you touch them and release when you lift, like a real mouse. Hold LEFT with your thumb and slide on the trackpad with another finger to drag. Between them is a scroll wheel: arrows that repeat while held, and a ridged strip you drag like a wheel. Clicks and wheel notches make a short sound and a small vibration, so you know they registered.

The PC screen only zooms and pans. Touching it never clicks anything, so there are no accidental clicks. A "Fit screen" button brings the view back after zooming.

In landscape, the divider between the two sizes itself to the PC screen's shape, so the picture has no black bars and the trackpad gets the rest of the width. My monitor runs at 1720×1440, almost square, so the trackpad gets a lot more room than it would next to a widescreen PC. You can drag the divider to set your own split, and double-tap it to go back to automatic.

A keyboard that doesn't cover the screen

Tap the keyboard button and the trackpad becomes a keyboard. The phone's own keyboard never opens, so the PC screen keeps its full height.

The top two rows are the keys a phone keyboard lacks: Esc, Tab, Ctrl, Alt, Win, then Copy, Paste, Undo and the arrows. A line under them shows what you've typed since the last Enter, and the letters are laid out like Gboard.

Kustdesk's built-in keyboard in landscape: 'hello from my phone' typed into the Claude Code prompt on the PC and shown in the keyboard's typed-text line
Fig. 2 · Typing into Claude Code on the PC from the built-in keyboard. The typed-text line repeats what was sent.

Held upright, the default, the keyboard sits under the PC screen like a chat app's. The rotate button on the keyboard or the trackpad switches between upright and landscape.

Kustdesk in upright mode: the PC screen at the top showing Claude Code's reply, the keyboard with shortcut rows at the bottom
Fig. 3 · Upright mode, after sending the message: Claude Code on the PC has replied.

Voice typing without the popup

The mic button, on the trackpad panel and in the keyboard's typed-text line, listens with the phone's own speech recognizer and types what you say on the PC. No popup covers the screen: the mic turns red while it listens, and it stops when you pause or when you tap it again. On the trackpad panel, the mic then turns into a Send button for six seconds, which presses Enter. That's how I answer an agent from the phone with one tap and a sentence.

How does Kustdesk compare with RustDesk and Chrome Remote Desktop?

The difference is in how clicking and typing feel. All three connect to a Windows PC. This is how each one handles the mouse, going by each app's documentation and code.

On the phoneKustdeskRustDesk (Android app)Chrome Remote Desktop
App on the PCRustDeskRustDeskChrome Remote Desktop
Moving the mousea trackpad under or beside the PC screen; touching the screen only zooms and pansMouse mode or Touch mode, switched in the toolbarin Trackpad mode, the default, a swipe anywhere on the screen
Mouse buttonsLEFT, RIGHT and a scroll wheel under the trackpad, held like real buttonsa floating on-screen mouse over the PC picturetap to click; touch and hold to drag
Right clickthe RIGHT button, or a two-finger tap on the trackpada two-finger tap in Mouse modea two-finger tap

Microsoft's own Remote Desktop can't control my laptop at all: the PC you connect to must run a Pro edition of Windows, and mine runs Windows 11 Home.

Can I control Claude Code from my phone?

Yes, two ways. Claude Code's own Remote Control connects the Claude app on your phone to a Claude Code session on your PC. You start it on the PC with claude remote-control or /remote-control, it needs a Pro, Max, Ultra, Team or Enterprise plan (API keys aren't supported), and new sessions from the phone start in the folder where that server runs.

Kustdesk works at the level of the desktop instead. In the screenshots above, I typed "hello from my phone" into a Claude Code session on the laptop from the phone, and Claude Code answered on the PC. From the same phone I can open a terminal in any folder and start a new session, switch to Codex or another agent, or open the site an agent just built in Chrome and click through it myself. Remote Control covers the Claude Code session only.

Claude Code on the PC answering 'Hello. You're connected to this session from your phone.' after a message typed on Kustdesk
Claude Code's reply to the message sent from the phone.

Why doesn't Ctrl+V work in RustDesk on Android?

My first version sent shortcut keys the way RustDesk's own key bar does, and Ctrl+V, the Windows key and Shift did nothing on the laptop. RustDesk has two ways to send a key. Its key bar sends a letter as a typed character, which Windows prints as text but doesn't treat as a key press, so Ctrl plus that character is not Ctrl+V. A keyboard plugged into the phone takes the other path, which sends real key codes, and there shortcuts work.

Kustdesk sends Ctrl, Alt, Shift, Win, Enter, Backspace, the arrows and every shortcut as real key codes, the same way a plugged-in keyboard does. That includes Ctrl, Alt or Win with a symbol, such as Ctrl and + to zoom in, and Shift with Enter, Tab or the arrows. Plain letters still go as text, because that types any character correctly, whatever the PC's keyboard layout.

A stuck Shift turns every click into a Shift+click

The same key bar keeps Ctrl, Alt and Shift switched on until you tap them again, and the mouse clicks carry them too. With Shift left on, clicking in a browser extends a text selection instead of clearing it. Kustdesk releases a held key after the next keypress and clears any leftover flags when the trackpad opens.

How I built it

Kustdesk is a fork of RustDesk 1.5.3, and its code is on GitHub at khadimhussain0/kustdesk. I built it with Claude Code. The changes are all in the Android app: its Flutter code, plus two small Kotlin files for the sounds and voice typing. The PC side and RustDesk's Rust core are unchanged, so it works with any PC running RustDesk.

StepMeasured
Build setup in WSL (Rust, Flutter, Android NDK, RustDesk's video libraries)about 45 minutes, unattended
First APK build13 min 18 s (Gradle downloads its dependencies)
Rebuild after a code change75 to 97 s
APK size (arm64)31.2 MB

The build follows RustDesk's own Android CI job on Ubuntu 24.04 in WSL. Each rebuild was installed on the phone over Android's wireless debugging, so I tested every change on the real phone within two minutes.

What Kustdesk doesn't do yet

  • Android only. There is no iPhone version.
  • Tested on one phone (vivo, Android 16) and one Windows 11 laptop.
  • The APK is for 64-bit ARM phones only (arm64-v8a) and isn't on the Play Store. To build it yourself, the repository's kustdesk/README.md has the steps.
  • Voice typing uses the phone's speech recognizer, so it works where your phone's own voice typing works.

The license is the same as RustDesk's, AGPL-3.0.

Next

Frequently asked questions

How can I control my PC from my phone for free?

Install RustDesk on the PC and a RustDesk client on your phone, then connect with the PC's ID and password. Both are free and open source. Kustdesk is a free Android client for the same PC app, with a trackpad, mouse buttons and a built-in keyboard.

How do I right-click in RustDesk on Android?

In the stock RustDesk app, switch to Mouse mode and tap with two fingers. In Kustdesk, press the RIGHT button under the trackpad, or tap the trackpad with two fingers.

Can I control Claude Code from my phone?

Yes, two ways. Claude Code's own Remote Control continues a Claude Code session in the Claude app, on a Pro, Max, Ultra, Team or Enterprise plan. Kustdesk shows the whole PC instead, so from the phone you can also start a session in any folder, use another agent or check a site in Chrome yourself.

Can I use my phone as a trackpad for my PC?

Yes, with Kustdesk on an Android phone and RustDesk on the PC. Half of the phone becomes a laptop-style trackpad with LEFT and RIGHT buttons and a scroll wheel, and the other half shows the PC screen.

Do I need to install anything new on the PC?

No. The PC runs the normal RustDesk app, and you connect with its usual ID and password. Only the phone app changes.

Is Kustdesk on the Google Play Store?

No. Download the APK from the latest Kustdesk release on GitHub and open it on the phone; it runs on 64-bit ARM Android phones. It is signed with a development key, not a Play Store key, so Android or Play Protect may warn you before it installs.

Does Kustdesk work on iPhone?

No. Kustdesk is a fork of RustDesk's Android app and runs on Android only. I tested it on a vivo phone with Android 16.

Want a second pair of eyes on this?

Book a 15-minute intro call. Bring the problem, and you leave with a concrete next step.