also an error message if /dev/uinput can't be opened
|1 year ago|
|Makefile||1 year ago|
|README.md||1 year ago|
|adb-forward-touch.c||1 year ago|
|build.nix||1 year ago|
|default.nix||1 year ago|
When run on a Linux computer with an Android phone attached, it will
getevent on the phone and pass touchscreen events into the Linux
input event system using uinput, so that it appears as a touchpad
input to other apps on the Linux machine.
If you are using Nix,
nix-build build.nix. Otherwise try
/deventry is hardcoded in, needs to be a command-line parameter (or detected)
the touchscreen configuration (dimensions, axes, najme, USB ids etc) are hardcoded likewise.
if your phone is locked/screen off then it will appear to work but you may get garbage X values. This is due ot the way some ANdroid phones implement wake gestures