[PATCH xf86-input-synaptics 6/6] Switch X and Y axis labels to "Abs {X,Y}"

Chase Douglas chase.douglas at canonical.com
Wed Jan 25 22:20:29 PST 2012


On 01/25/2012 10:07 PM, Peter Hutterer wrote:
> On Thu, Jan 19, 2012 at 01:05:51PM -0800, Chase Douglas wrote:
>> Non-raw X core and XI events are provided in absolute coordinates. If
>> you really care, you can look at the XI axis class for each axis to see
>> if it's relative or absolute.
> 
> The definition of absolute/relative in X is a mess. Synaptics, in the
> default use, still technically uses relative axis since all we do, most of
> the time, is send relative events to the server.
> 
> Yes, the underlying axis itself is absolute, but we calculate the delta
> depending on the device mode. What benefit does this change give us?

It doesn't, but you were the one who suggested switching the labels to
"ABS {X,Y}" on irc :). Since the client has to assume that X and Y are
mapped to valuators 0 and 1, this isn't necessary. I have no problem
dropping this patch.

-- Chase


More information about the xorg-devel mailing list