TouchServer is part of TouchDroid.
It captures input sent from the TouchDroid Android app over the network and registers them as mouse/keyboard events on Windows or Linux.
📱 Android app repo: TouchDroid
- Windows / Desktop: C++, C#
- Linux: Python (3.8+), ydotool
- Download and extract MouseRemoteServer.zip.
- Run
UI.exe. - Install the TouchDroid APK on your phone.
- Ensure both phone and PC are on the same network.
- Open the Android app → and Select your Host device to connect
- Install Python 3.8+:
sudo apt-get install python3.8
- Install dependencies:
sudo python3 -m pip install -r requirements.txt
- Run the server:
python main.py
- Install and run ydotool:
sudo pacman -S ydotool sudo ydotoold & - Start the server:
python main_hyprland.py
- From the Windows GUI:
Start→ Enable serverStop→ Disable server
- On Linux: Run the respective Python script.
- Control your desktop using your phone like a touchpad.
- Keyboard input issues (Linux/Hyprland):
cd ./linux/keys python export_system_keys.py - If keys still don’t map correctly, edit
./linux/keys/app_keys.pywith your system’s key mappings. - Advanced users: see inline comments in
main_hyprland.pyfor manual fix options.