Skip to content

Tabet movement inputs are completely dropped if built-in tablet support is disabled under Linux/Wayland. #21939

Description

@timschumi

Type

Game behaviour

Bug description

When disabling built-in tablet support (the intention being that I want to use the input events provided by my external instance of OpenTabletDriver), the game apparently stops processing movement events that are received from the tablet.

Button/Touch inputs continue to be processed, which are visible in the video through a jumping cursor, as the pen moved between me disabling tablet support and re-enabling it.

The issue can be mitigated temporarily by moving the cursor outside the window once, after which the game starts handling tablet movement inputs even with tablet support disabled. However, it breaks again once actual gameplay starts (as visible in the video, where the cursor suddenly stops shortly before the first hit objects show up). I haven't been able to confirm whether this also works on fullscreen mode, as the cursor isn't movable outside the window there. Simply tabbing out and tabbing back in doesn't appear to have the same effect, the cursor will stay frozen.

Note that this doesn't appear to affect setups that use X11, only Wayland.

The recorded video shows my OSes cursor above the in-game cursor. Note that this is not how it actually shows on screen, it's just how my OBS was configured and I figured it might be useful to see.

Screenshots or videos

osu-notablet.mp4

Version

2022.1228.0

Logs

input.log
network.log
performance.log
runtime.log

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions