How to Invert the touchscreen Lenovo Yoga xinput?

More
18 Mar 2025 18:54 - 18 Mar 2025 18:57 #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.
 
Last edit: 18 Mar 2025 18:57 by slowpoke.

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
18 Mar 2025 19:14 #324224 by tommylight
The following user(s) said Thank You: slowpoke

Please Log in or Create an account to join the conversation.

More
19 Mar 2025 11:47 - 19 Mar 2025 15:34 #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. 


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/ 
 
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. 
Attachments:
Last edit: 19 Mar 2025 15:34 by slowpoke.

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
19 Mar 2025 21:02 #324321 by tommylight
Replied by tommylight on topic How to Invert the touchscreen Lenovo Yoga xinput?
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 or Create an account to join the conversation.

Time to create page: 0.187 seconds
Powered by Kunena Forum