Re: [PATCH] Input: wacom - Add POINTER and DIRECT device properties

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I disagree with this assignment somewhat because it creates ambiguities.

On Tue, Sep 13, 2011 at 7:13 AM, Chris Bagwell <chris@xxxxxxxxxxxxxx> wrote:
>  * Touch interface without screen should have POINTER only to
> indicate pointer needed and to treat absolute coordinates as relative
> movement.  Relative movement is product's default behavior as
> documented in its own manual and what I think should be advertised by
> default.

Yes.

>  * Pen interface without screen should have both POINTER and DIRECT to
> indicate pointer needed and to treat absolute coordinates as absolute
> movement.

No.  DIRECT should not be set because the Pen is not directly touching
the objects on a screen.  The motions must still be translated through
some indirect means (a mapping function) onto the plane of the screen.

Therefore should only specify POINTER.

>  * Touch interfaces with screen should have DIRECT only to indicate no
> pointer displayed and absolute coordinates as absolute movement.
>  * Pen interface with screen should have DIRECT only to indicate no
> pointer displayed and absolute coordinates as absolute movement.
> * A Pen+Touch touchscreen (only the wacom_w8001.c), should have DIRECT
> only to indicate no pointer displayed and absolute coordinates as
> absolute movement.

Yes, but not for this reason.  Touch interfaces with screen should
have DIRECT to indicate that touches are directly upon objects on the
screen.

It happens that the absolute coordinates of a tablet are usually
mapped 1-1 with the screen, but that's not what is meant by a direct
input device.  It's the usage that matters, not the mapping function
itself.

Note that a tablet's mapping function need not be precisely 1-1.  It
could be constrained to part of a window on the display, or it could
be rotated or skewed with respect to the display.  This is a
fundamental difference between direct and indirect input devices.  The
mapping function for a direct input devices must be a natural mapping
based on what is actually seen and directly touches.  The mapping
function for an indirect input device can be almost anything because a
pointer is being used to provide visual feedback so it is not
constrained by the physical position of objects on screen.

> Assuming we all agree on those combination, then in the patch the
> Graphire and Intuos tablets are missing a DIRECT, the touchscreens are
> correct, and the Bamboo's need to add DIRECT for the PEN interface
> only.

I disagree.

A touchscreen is DIRECT.
A tablet or trackpad is INDIRECT (and POINTER).

Further absolute/relative distinctions need to be made by tool.
Finger / mouse on tablet uses relative motion.  Pen uses absolute
motion.  Essentially the tool types qualify the mapping function used
by indirect devices.

This isn't a concern for direct devices because there's really only
one sensible mapping function to use... touch the thing under the
finger.  :)

Jeff.
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux