XtMapper icon indicating copy to clipboard operation
XtMapper copied to clipboard

Support for waydroid (not dupplicate)

Open afzl-wtu opened this issue 1 year ago • 7 comments

Waydroid seriously lacks keymapper. I can see /dev/input in waydroid getting keystroked. Can we not read directly and rempap them through evdev to touch events?

afzl-wtu avatar Jan 18 '24 05:01 afzl-wtu

You are probably looking for the persist.waydroid.uevent property https://docs.waydro.id/usage/waydroid-prop-options You can recreate /dev/input/eventX in the waydroid container by triggering the uevent Finding out the correct /dev/input/eventX by cat /proc/bus/input/devices Assuming we got event4, sudo sh -c 'echo add > /sys/class/input/event4/uevent'

Xtr126 avatar Jan 20 '24 16:01 Xtr126

You are probably looking for the persist.waydroid.uevent property https://docs.waydro.id/usage/waydroid-prop-options You can recreate /dev/input/eventX in the waydroid container by triggering the uevent Finding out the correct /dev/input/eventX by cat /proc/bus/input/devices Assuming we got event4, sudo sh -c 'echo add > /sys/class/input/event4/uevent'

If so, why xtmapper does not work with wayddroid. ANd hack of overlay windows is applied ?

afzl-wtu avatar Feb 15 '24 08:02 afzl-wtu

You are probably looking for the persist.waydroid.uevent property https://docs.waydro.id/usage/waydroid-prop-options You can recreate /dev/input/eventX in the waydroid container by triggering the uevent Finding out the correct /dev/input/eventX by cat /proc/bus/input/devices Assuming we got event4, sudo sh -c 'echo add > /sys/class/input/event4/uevent'

If so, why xtmapper does not work with wayddroid. ANd hack of overlay windows is applied ?

It has been confirmed to work on several systems, there is also a video https://youtu.be/yvZD2E7kgG0?si=h7e9bps3wGaH5GnL

Xtr126 avatar Feb 15 '24 09:02 Xtr126

photo_2024-02-25_22-55-16

waydroid works, very good!

tcguangda avatar Feb 25 '24 14:02 tcguangda

image

I have only tried the mouse to replace the touch control before. I don’t know why the custom buttons cannot be changed. There is no response when entering numbers or letters.

tcguangda avatar Feb 26 '24 15:02 tcguangda

sudo pacman -S wayland-protocols libxkbcommon

Okay, forget to install this!

tcguangda avatar Feb 27 '24 11:02 tcguangda

This method in waydroid has a flaw. It generates a key-press running form externally. When the game itself supports wasd, there will be conflicts and it is inflexible!

mytcgd avatar May 04 '24 20:05 mytcgd

Try using new cage method.

Xtr126 avatar Jul 11 '24 11:07 Xtr126