Open twaik opened 1 year ago
In the case if I am building netevent with HAS_UI_DEV_SETUP
flag I am getting the following error:
error: failed to setup device axis information: Invalid argument
Interesting thing. When I am trying to pass touchscreen of other devices to this device it actually works.
I don't really have the time or energy to dig into android related things, android tends to just suck the fun out of everything with its anti-consumer culture of malpractice app development with anti-consumer "safety nets" and what not...
The error might perhaps indicate that the touch screen you cannot clone may have some capability that's not fully supported either by uinput
, or netevent
lacks some more/newer bits/capabilities to make it work, the setup doesn't have 100% coverage with respect to device capabilities.
Are there some tests that I can perform? Touchscreen can be passed to my kubuntu 23.04 desktop, but fails to be passed to other Android devices.
Can you please make some debug output for this to check what parameter is failed to be passed to kernel?
Hi. I've configured netevent for Android with this build script
And compiled it with this script
I know, this code is pretty rude and straightforward but it works.
I used this command to instantiate device's touchscreen as a touchpad.
/data/local/tmp/netevent cat /dev/input/event4 | /data/local/tmp/netevent create
It works fine on
Samsung SM_A042F
, but fails to run onSamsung SM_G780F
with the following error:I do not know if there is a debug mode so I extracted everything I could.