[PATCH evdev] evdev: added property Evdev Axes Rotation. #27688
Benjamin Tissoires
tissoire at cena.fr
Fri Oct 29 01:12:33 PDT 2010
Hi,
Le 29/10/2010 07:37, Peter Hutterer a écrit :
> On Sun, Oct 24, 2010 at 01:45:03PM +0200, Paolo D'Apice wrote:
>> The evdev driver does not allow to set a custom axes rotation
>> as the mousedrv driver does with the option "AngleOffset".
>> This option is necessary for some trackballs, for example the
>> Logitech Cordless Optical TrackMan which has the optical
>> sensor off-axes (in MS Windows, the Logitech proprietary driver
>> adjusts the offset).
>>
>> X.Org Bug 27688<http://bugs.freedesktop.org/show_bug.cgi?id=27688>
>>
>> Signed-off-by: Paolo D'Apice<dapicester at gmail.com>
>
> this patch seems simple enough that we could add it to the server as a
> standard property for pointer devices, isn't it? I'd much prefer that so we
> don't have to re-implement it for the various drivers.
But isn't it already in the server?
Since 1.9 and commit "dix: add 3x3 transformation matrix xinput property
for multi-head handling", we already have a property
"Coordinate Transformation Matrix" that can handle arbitrary
transformation matrix. And a rotation can be seen as a matrix, no???
It's clear that a matrix is not very easy to handle by human people, but
we just need a tool that provide it.... ;)
Cheers,
Benjamin
More information about the xorg-devel
mailing list