libinput: Touchpad rotation support

Łukasz Czuja lukasz at
Sat Jan 9 05:32:02 PST 2016

Hi guys,

there has been a patch that enables touchpad axis rotation/swap for 
synaptics (for example when you rotate the screen) as seen here

Is similar approach possible using libinput/evdev?

I've succesfully used "Coordinate Transformation Matrix" to do this 
(swap touchpad x/y axis, rotate left). However after that 2 finger 
vertical scrolling (possibly other gestures too) is impacted as it does 
not follow the new CTM coordinate system and works like before (without 
being rotated left - now it should work like horizontal scroll).

Any ideas? Is this a bug?

Thanks in advance,
Łukasz Czuja

More information about the wayland-devel mailing list