Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3852824
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T17:22:30+00:00 2026-05-19T17:22:30+00:00

I’ve rotated X environment with xrandr -o left|right|inverse|normal on touch screen device. Everything is

  • 0

I’ve rotated X environment with xrandr -o left|right|inverse|normal on touch screen device. Everything is working OK beside touch. When moving finger on the screen, it takes absolute coordinates of finger and moves cursor in opposite direction if the rotation is inverse. So if I slide up actually it slides down. So is there a way to configure Touch screen input to read relative coordinates not absolute. Touch screen driver is evdev.

Regards,
Levon

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T17:22:31+00:00Added an answer on May 19, 2026 at 5:22 pm

    Relative/Absolute still won’t do what you want, so long as the orientation isn’t changed too. There is no generic mechanism to tell the X server to interpret pointer devices in a different orientations. You’ll need to somehow get the underlying device to report differently. There is a generic mechanism for communicating with the underlying device, however.

    I have a Wacom stylus built in to my laptop. To restore normal orientation, I can do the following:

    xsetwacom set “stylus” Rotate NONE

    which directly talks to the underlying driver. I can also do the following:

    xinput set-int-prop stylus ‘Wacom Rotation’ ‘8’ 0

    which communicates with the X driver via XInput “properties” to do the same thing.

    The “evdev” is fortunately one that does allow such remapping.

    xinput list, in addition to the stylus shows my laptop’s trackpoint and an external mouse which are both run via evdev:

    ⎡ Virtual core pointer                          id=2    [master pointer  (3)]
    ⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
    ⎜   ↳ stylus                                    id=6    [slave  pointer  (2)]
    ⎜   ↳ eraser                                    id=7    [slave  pointer  (2)]
    ⎜   ↳ TPPS/2 IBM TrackPoint                     id=14   [slave  pointer  (2)]
    ⎜   ↳ HID 0430:0100                             id=11   [slave  pointer  (2)]
    ...
    

    xinput list-props 'HID 0430:0100'

    Device 'HID 0430:0100':
            Device Enabled (135):   1
            Device Accel Profile (251):     0
            Device Accel Constant Deceleration (252):       1.000000
            Device Accel Adaptive Deceleration (254):       1.000000
            Device Accel Velocity Scaling (255):    10.000000
            Evdev Reopen Attempts (299):    10
            Evdev Axis Inversion (301):     0, 0
            Evdev Axes Swap (303):  0
            Axis Labels (304):      "Rel X" (143), "Rel Y" (144)
            Button Labels (305):    "Button Left" (136), "Button Middle" (137), "Button Right" (138), "Button Wheel Up" (139), "Button Wheel Down" (140)
            Evdev Middle Button Emulation (306):    2
            Evdev Middle Button Timeout (307):      50
            Evdev Wheel Emulation (308):    0
            Evdev Wheel Emulation Axes (309):       0, 0, 4, 5
            Evdev Wheel Emulation Inertia (310):    10
            Evdev Wheel Emulation Timeout (311):    200
            Evdev Wheel Emulation Button (312):     4
            Evdev Drag Lock Buttons (313):  0
    

    xinput set-int-prop 'HID 0430:0100' 'Evdev Axis Inversion' 8 1 1 inverts my external mouse.

    To set to normal:

    xinput set-int-prop 'HID 0430:0100' 'Evdev Axis Inversion' 8 0 0
    xinput set-int-prop 'HID 0430:0100' 'Evdev Axes Swap' 8 0
    

    Rotated by 90 degrees:

    xinput set-int-prop 'HID 0430:0100' 'Evdev Axis Inversion' 8 1 0
    xinput set-int-prop 'HID 0430:0100' 'Evdev Axes Swap' 8 1
    

    Inverted:

    xinput set-int-prop 'HID 0430:0100' 'Evdev Axis Inversion' 8 1 1
    xinput set-int-prop 'HID 0430:0100' 'Evdev Axes Swap' 8 0
    

    Rotated by 90 degrees the other way:

    xinput set-int-prop 'HID 0430:0100' 'Evdev Axis Inversion' 8 0 1
    xinput set-int-prop 'HID 0430:0100' 'Evdev Axes Swap' 8 1
    

    You will need some way of picking out what device to put the properties on, of course.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
this is what i have right now Drawing an RSS feed into the php,
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I'm working with an upstream system that sometimes sends me text destined for HTML/XML
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
For some reason, after submitting a string like this Jack’s Spindle from a text
I am trying to understand how to use SyndicationItem to display feed which is
I used javascript for loading a picture on my website depending on which small

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.