Transform your Android device into a versatile touchpad for your Windows PC or laptop.
- Mouse movement (single finger)
- Left click (one finger touch)
- Right click (long touch)
- Hold left click (double touch down and hold)
- Scroll horizontal/vertical (double finger movement horizontal/vertical)
- Restart UDP server in app with fast four finger vertical pull-down over the entire screen
- Android device
- Windows device
- WiFi connection for your Android device
- Both devices must be on the same network
-
Install the latest APK from the releases section on your mobile device.
-
Download the driver.go.exe from the latest release section file and execute it. 2.1 Optionally, you can place the driver in the Windows autostart folder.
C:\Users\%username%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
-
In the app, click on the settings in the bottom right corner. 3.1 Add the local IPV4 Address to the list (e.g., '10.10.10.37').
-
If you have completed all the steps correctly, the mouse cursor on your PC should move according to your touch movements on the Android device screen.
The Android App is made with Flutter, a cross-platform tool to develop Apps. Under the hood, it is using a basic GestureDetector widget, which tracks the touch movement and sends it to every device which is saved in the list. The data itself is formatted as JSON.
{
"x": $deltaX, "y": $deltaY,
"leftclick": $leftclick, "rightclick": $rightclick,
"leftclickdown": $leftclickdown,
"vertscroll": $vertscroll, "vertscrolldelta": $vertscrolldelta,
"horzscroll": $horzscroll, "horzscrolldelta": $horzscrolldelta
}
For sending the data I'm using a UDP Connection. The server port (unused) is 12345 and the client port is 12346.
The PC Driver is written in go, for its excellent performance and efficiency. With the help of ChatGPT I was able to get access to the native Windows API I think, which allows me to move the mouse and all the different implemented actions.