remote-android / redroid-doc

redroid (Remote-Android) is a multi-arch, GPU enabled, Android in Cloud solution. Track issues / docs here
3.93k stars 289 forks source link

add virtual input devices (touch screen, keyboard etc.) #184

Open zhouziyang opened 2 years ago

zhouziyang commented 2 years ago

add virtual input devices by uinput

aa889788 commented 1 year ago

Is there any updates? I want use minitouch in redroid12

VincentHQL commented 1 year ago

After adding a virtual input device through uinput, the corresponding device cannot be seen in the container, but can be found in the host.

The host can receive data through the following command sudo hexdump -C event4

Is there any solution?

zhouziyang commented 1 year ago

the input subsystem is removed in uevent.rc (since not want to interact with the host input devices); And the event devices added via uinput possible placed under /dev/eventXXX, Try to move under /dev/input So Android system can interact with it.