GuLinux / ScreenRotator

Automatic screen rotation daemon for X11
GNU General Public License v3.0
57 stars 18 forks source link

Fixing inversion of input devices #24

Open Worper1997 opened 3 years ago

Worper1997 commented 3 years ago

This great piece of software was working until after some update in my system,about a month ago, stopped working. Basically screenrotator will rotate the orientation of desktop correctly, however it also inverts all mouse inputs, which it shouldn't. Or maybe it used to be "it should" but now it shouldn't.

Anyway if anyone has the same issue all you have to do is to comment or remove the following code in the the following file: ScreenRotator/src/rotateinput.cpp find the line 176: property.setRotationMatrix(orientation_matrix);

This line needs to be commented or removed Then recompile, install as instructed by the readme.

This works on Surface Pro 6 with Mate/KDE