Skip to content

Absolute devices (touchscreen, mouse absolute) fails with min == max on ABS_X #7

@Markus328

Description

@Markus328

I'm running a nspawn container with a headless session of sway, with sunshine configured. When using android moonlight clients, it's possible to use Pen (S pen per example) and mouse absolute and even passthrough the touchscreen. But all of these, are absolute devices, and won't work only when using /dev/vuinput as uinput.

Sunshine can create the devices, but the devices are invalid, throwing errors on libinput list-devices, from inside the container:

event16 - Mouse passthrough (absolute): kernel bug: device has min == max on ABS_X

On host, disabling the udev rules I can confirm the errors also occurs, I cannot use absolute mouse if the sunshine was started within the container. Having a sunshine instance outside the container, that exposes my host, with working absolute mouse I confirm the issue very probably is how vuinput handles those devices.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions