Re: [PATCH 8/8] Add BTN_TOUCH to Synaptics driver. Update mousedev.

From: Vojtech Pavlik
Date: Sat Sep 27 2003 - 16:22:23 EST


On Sat, Sep 27, 2003 at 11:18:38PM +0200, Pavel Machek wrote:
> Hi!
>
> > > > > > One thing I tried to avoid is a 'device class' kind of field, that'd
> > > > > > tell if a device is a mouse a touchpad, touchscreen, tablet, whatever.
> > > > > > I tried to avoid it because there are devices that don't fall into any
> > > > > > predefined class and if we make enough classes, someone someday will
> > > > > > make a device that won't fit again.
> > > > >
> > > > > I believe having "is overlaid over screen" bit gets it right :-).
> > > >
> > > > Tablets aren't. And they're handled the same way as touchscreens.
> > >
> > > Ouch, so what's the difference between tablet and touchpad? Is it only
> > > in a way you are expected to use it? In such case "this is touchpad"
> > > bit is probably needed :-(.
> >
> > For a tablet, the cursor follows the pen movement all the time. For a
> > touchpad, if you lift the finger and place it elsewhere, nothing
> > happens. This way you can move the cursor further by repeatedly stroking
> > the pad.
>
> But difference is only in software, right? You could use synaptics as
> a tablet, its just little small. So perhaps "this is touchpad" bit is
> needed.

Yes, exactly so. We may have similar problems with differentiation
elsewhere (touchpad vs 6dof device), so we'll probably need the 'class'
field.

--
Vojtech Pavlik
SuSE Labs, SuSE CR
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/