[PATCH] Xi: define a default range of axis labels.

Peter Hutterer peter.hutterer at who-t.net
Wed Jan 21 20:14:06 PST 2009


On Tue, Jan 20, 2009 at 03:27:18PM +0100, Simon Thum wrote:
> Peter Hutterer wrote:
> > ATM, we are able to announce that a device has multiple axes, but clients have
> > to take educated guesses as to wether axis N is tilt, pressure, pan or
> > bananas. This patch introduces a set of default properties, initialized by the
> > server on init. Drivers can then take the AXIS_LABEL_PROP and fill it with the
> Given most of these won't actually be used on a given server instance,
> it might make sense to switch the GetKnownPropery mechanism to on-demand
> initialization. Just for consideration.

patches welcome :)

> Also, there's realtive WHEEL and HWHEEL, but abs only has WHEEL.
> Admittedly, I don't know the use case for abs wheel anyway.

I noticed that when I was transcribing/copying from linux/input.h.
I think for now we're fine, if a device comes up that requires it, adding it
is trivial.

Cheers,
  Peter



More information about the xorg mailing list