[PATCH evdev] evdev: added property Evdev Axes Rotation. #27688
Peter Hutterer
peter.hutterer at who-t.net
Tue Nov 2 00:45:13 PDT 2010
On 2/11/10 17:41 , Peter Korsgaard wrote:
>>>>>> "PH" == Peter Hutterer<peter.hutterer at who-t.net> writes:
>
> Hi,
>
> PH> right, that's the easy part. right now the property isn't hooked up for
> PH> relative devices, so afaict that needs to be the first step. A quick hack
> PH> shows some rather weird results, which suggests that it's not quite as
> PH> trivial as I hoped it'd be.
>
> What kind of results are you seeing?
essentially what I did was change DeviceSetTransform() to write the
matrix in as-is for relative devices (skipping scale and transform) and
use transformAbsolute() in GetPointerEvents for relative events. That
calculated the right values, but acceleration was off, the movement
wasn't consistent with the pointer sometimes feeling like stuck in goo.
It was a quick hack to try it, but that's what I meant with "not quite
as trivial"
Cheers,
Peter
>
> PH> CC-ing Simon and Peter, not sure what happend to the relative device
> PH> transformation plans.
> PH> http://lists.x.org/archives/xorg-devel/2010-May/008116.html
>
> I'm afraid I've gotten caught up with all kinds of other work, so I
> haven't done any more work on it yet :/
>
> I still plan on doing work on it and push coordinate transform matrix
> support to the upper (E.G. gnome-display-properties) layers, but I don't
> have any hard timeline.
More information about the xorg-devel
mailing list