"Don't know how to use device"

Sascha Hlusiak saschahlusiak at arcor.de
Fri Sep 26 07:44:28 PDT 2008


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.x.org/archives/xorg/attachments/20080926/41390911/attachment.pgp>


More information about the xorg mailing list