linux-surface / iptsd

Userspace daemon for Intel Precise Touch & Stylus
GNU General Public License v2.0
94 stars 46 forks source link

Touch input does not rotate with screen orientation #69

Closed groengpx closed 2 years ago

groengpx commented 2 years ago

When rotating the screen (via auto rotation), the touch inputs are not rotated.

For example, a swipe to the right is now a swipe down.

StollD commented 2 years ago

Are you using Wayland or X11?

I can not reproduce this on an SB2 with Fedora 36 and Gnome Wayland.

We had a similar issue at some point (with the old IPTS driver) where Gnome would get confused, because there were two seperate touchscreen devices, the one for multitouch and the one for singletouch. When you rotated the screen, it would only rotate the first device, which was the singletouch device. We solved it by removing singletouch support from the driver...

I wonder if this issue could be related.

groengpx commented 2 years ago

Ah, sorry, forgot to check. Yes, X11 indeed. When switching to Wayland, the problem goes away.