Originally Posted by
Ayuthia
If I remember correctly, the cursor usually jumps around in a rectangle around the point where you touch. When the evdev driver is rotated left or right, it appears that it is making the cursor jump in all four rotation points instead of just the actutal point.
It is not a rectangle AROUND the point I touch but the point of touch is one of the rectangle's points. The side lengths of the rectangle differs from one touch to the other and there is no clear conclusion about why, for example, the rotation point of the rectangle is not located in the middle of the screen.
What is the external rotation script rotating? If you need an additional rotation script, it might be better to remove the xrandr out of that script and add it the the Advanced Setup in Magick-Rotation. That way the xrandr is only called once and the two scripts are not competing against each other.
The external script looks like this:
Code:
#!/bin/sh
rotation="$(xrandr -q --verbose | grep 'connected' | egrep -o '\) (normal|left|inverted|right) \(' | egrep -o '(normal|left|inverted|right)')"
case "$rotation" in
normal)
# -rotate to the left
xrandr -o left
xinput set-prop "N-Trig MultiTouch" "Coordinate Transformation Matrix" 0, -1, 1, 1, 0, 0, 0, 0, 1
xinput set-prop "N-Trig Pen stylus" "Coordinate Transformation Matrix" 0, -1, 1, 1, 0, 0, 0, 0, 1
;;
I use this to rotate the screen when I do not need the inverted mode (have it on one of the buttons at the screen). This can also be the case when the screen is already rotated to inverted mode by magick. A possible workaround would be to and after executing the script to call magick again.
Bookmarks