| Function | Key / Button |
|---|---|
| Activate | PLAY (quickly double tap) |
| Deactivate | ESC or HOME |
| Mouse Move | UP, DOWN, LEFT, RIGHT |
| Mouse Click | ENTER or SELECT |
| Mouse Scroll | REWIND, FAST-FORWARD |
Linux
sudo build/virtual-mouseNote: Depending on your systems /dev/input/ permissions you may need to run the app via
sudo.
Android
adb connect ANDROID_IP_HERE
adb push android/libs/armeabi-v7a/virtual-mouse /data/local/tmp/
adb shell
chmod 755 /data/local/tmp/virtual-mouse
/data/local/tmp/virtual-mousemakeThe compiled binary will be output to build/virtual-mouse
export PATH=$PATH:/path/to/Android/Sdk/platform-tools/
export PATH=$PATH:/path/to/android-ndk/
export NDK_PROJECT_PATH=android/
ndk-build NDK_APPLICATION_MK=android/Application.mkThe compiled binary will be output to android/libs/virtual-mouse
Note: The Android build is compatible with Android 10 and lower.