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

Simon Thum simon.thum at gmx.de
Tue Jan 20 06:27:18 PST 2009


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.

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

Cheers,

Simon



More information about the xorg mailing list