I've opened an issue upstream now. https://gitlab.freedesktop.org/xorg/driver/xf86-input-libinput/-/issues/40