How to Invert the touchscreen Lenovo Yoga xinput?

More
1 year 7 months ago #324222 by slowpoke
Running axis if that matters.

I just flipped my Lenovo Yoga upside down to put the screen at a better viewing angle. Initially the display was upside down, that was easy to correct with Settings | Display | Invert.  So display is now correct

However the touch aspects is still inverted, (touching lower left, shows touch at upper right). How do I go about inverting the touch aspect?

Thanks in advance and much appreciated.
 

Please Log in to join the conversation.

More
More
1 year 7 months ago #324285 by slowpoke
Thanks for the links, closer but not solved yet....

After more searching/reading it looks like the utility xinput might give me some insight as to what touchscreen driver is actually being used and then I can probably tweak the calibration.I installed xinput and get the following when I run it. 

Attachment not found



Looks like SYNAPTICS Touch digitizer is the driver for the touch aspect on the touchscreen. I looked in /usr/share/X11, and there are 5 .conf files:
40-libinput.conf
10-radeon.conf
70-waycom.conf
10-amdgpu.conf
10-quirks.conf

None of these have a line for XAxisMapping or YAxisMapping, if they did I could  probably just change 1230 to 0123.

So I ran xinput_calibrator and touched the screen etc. and it detects the touches generates a snippet with the calibration data that I'm supposed to put in a file named 99-calibration.conf and place that file in /usr/share/x11/xorg.conf.d/ 
 

Attachment not found


So I did that, rebooted and no change, so it looks like 99-calibration.conf is either being ignored or is in the wrong location?Any insight would be helpful. 

Please Log in to join the conversation.

More
1 year 7 months ago #324321 by tommylight
Oh hell... :) (Not addressed at you)
It is the X11/Wayland saga that seems to never end (frankly it moved much faster than i thought, but i would have liked it to move even faster).
Check if X11 or Wayland is in use, and even then the old X11 config style is not used in mint, but there are ways to use it for sure, just needs a bit of searching...and google is cr@p.
I might give it a try searching later, i had found some 3 years ago a nice how to that worked on Mint, but that PC is long gone.

Please Log in to join the conversation.

Time to create page: 0.352 seconds
Powered by Kunena Forum