Comment 22 for bug 742567

Revision history for this message
Chase Douglas (chasedouglas) wrote :

The evdev driver has the capability to swap and invert axes, but it is not how I would recommend doing this anymore. As you point out, those properties only affect pointer motion events. While we could extend the functionality to touch events, a better resolution would be to use the X server's "Coordinate Transformation Matrix" property.

This bug inspired me to write a wiki page all about coordinate transformation in X :). You can find it at:

https://wiki.ubuntu.com/X/InputCoordinateTransformation

This will properly translate event coordinates for both pointer and touch events, though touch valuators will always be in device coordinates.

Note that while the functionality is difficult and cumbersome to use today, the hope is we will be able to integrate it into some form of display settings UI in the future.

Since there is a better solution for the desired functionality, I'm going to mark this bug as "Won't Fix".

Thanks!