Am Freitag, den 26.09.2008, 13:21 +0200 schrieb Søren Hauberg:
> +    if (has_axes) {
> +        pInfo->flags |= XI86_POINTER_CAPABLE | XI86_SEND_DRAG_EVENTS
> | 
> +            XI86_CONFIGURED;
> +        if (has_buttons) {
> +            xf86Msg(X_INFO, "%s: Configuring as mouse\n",
> pInfo->name);
> +           pInfo->type_name = XI_MOUSE;
> +        } else if (pEvdev->flags & EVDEV_TOUCHPAD) {
> +            xf86Msg(X_INFO, "%s: Configuring as touchscreen\n",
> pInfo->name);
> +           pInfo->type_name = XI_TOUCHSCREEN;
> +        }
>      }

If (has_axes && !has_buttons && !(pEvdev->flags & EVDEV_TOUCHPAD)), then
pInfo->type_name seems to stay uninitialized. 

Cheers,
Sascha

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

_______________________________________________
xorg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to