LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-24-2022, 05:55 PM   #1
deepthought42
LQ Newbie
 
Registered: Apr 2012
Posts: 9

Rep: Reputation: Disabled
All touchscreen events register in corner of screen after setting Xinput property.


I'm trying to get a touchscreen calibrated. When I first plug it in, it appears that the X and Y axes are swapped.

I've tried setting the Xinput "Coordinate Transformation Matrix" property, and the " Evdev Axes Swap" property, as well as "Evdev Axis Calibration". In any case, setting any one of these properties causes all touch events to send the cursor to the top left corner of the screen. before setting a property, Xinput results look normal. a[0] and a[1]have the same values as abs_x and abs_y from evtest.

After setting a property, xinput test always outputs "a[0]=0 a[1]=0", but evtest still outputs reasonable coordinates.

The touchscreen device is coming from uinput, but since evtest returns reasonable values, i think something may be wrong with xinput.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bluetooth Xorg/xinput settings not retained across bluetooth (dis)connect events slackwhere Linux - General 4 07-09-2022 08:49 PM
Does Ubuntu Gnome 16.10 use xinput for touchscreen? Üb€R Ubuntu 0 11-06-2016 01:51 PM
LXer: Publisher 'DRMs' Physical Legal Textbook About 'Property,' Undermines Property And First Sale LXer Syndicated Linux News 0 05-08-2014 07:11 AM
Touchscreen Drivers - Toughbook CF-19 w/Red Hat 5.3 (Fujitsu USB Touchscreen) bsheridan Linux - Laptop and Netbook 0 11-17-2009 10:54 AM
LXer: "Intellectual Property" a Violation of Real Property LXer Syndicated Linux News 1 11-11-2009 05:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration