View previous topic :: View next topic |
Author |
Message |
v13inc n00b

Joined: 12 Oct 2004 Posts: 4
|
Posted: Sun Oct 17, 2004 6:30 pm Post subject: Touch screen registering 2 clicks instead of 1... |
|
|
I am using gentoo on my car computer. For the display i have a nice Lilliput LCD with a touchscreen. I got the touch screen working with the built in mtouchusb module and the 2.6 kernel.
Right now, i am having problems with it registering 2 mouse click when i tap the screen, instead of 1. I dont believe this is a problem with my X config file, since when i use the calibration program that is independent of X, it registers 2 clicks there. I believe this started happening after i configured my kernel to have the even interface for input devices, since this did not happen before i did that. Unfortunately, the event interface is needed for the touchscreen to have the correct position.
Can anyone help me on this?
Correction:
The calibration is not independant of X, so it may be a problem with my config file:
Code: |
Section "ServerLayout"
...
InputDevice "touchscreen0"
...
EndSection
Section "InputDevice"
Identifier "touchscreen0"
Driver "evtouch"
Option "Device" "/dev/input/event2"
Option "DeviceName" "touchscreen"
Option "DragTimer" "200"
Option "MoveLimit" "600"
Option "ReportingMode" "Raw"
Option "MinX" "661"
Option "MinY" "107"
Option "MaxX" "1954"
Option "MaxY" "1937"
EndSection
|
Edit:
Solution found. After looking on the website for the evtouch driver, i found i needed to add another option:
Option "ClickTimer" "0"
The driver defaults to a time of 500ms before it sends an actual click event... it doesnt make a whole lot of sense to me, but it is resolved now. |
|
Back to top |
|
 |
felixo Tux's lil' helper

Joined: 31 Mar 2004 Posts: 88
|
Posted: Sun Feb 13, 2005 4:31 pm Post subject: |
|
|
I am working on a carputer as we speak, do you have a car site descriibing your work? I would be interested to see what you have done! |
|
Back to top |
|
 |
fmtn7 n00b

Joined: 19 Aug 2005 Posts: 5
|
Posted: Tue Jan 31, 2006 7:17 pm Post subject: |
|
|
I am having exactly the same problem. I tried using what you suggested but no luck... Anyone else had a similar problem they've resolved?? Must be some option I'm missing... (my xorg.conf is identical to the one above--apart from the event interface number) |
|
Back to top |
|
 |
pjp Administrator


Joined: 16 Apr 2002 Posts: 19935
|
Posted: Wed Feb 01, 2006 5:44 am Post subject: |
|
|
Moved from Other Things Gentoo _________________ Quis separabit? Quo animo? |
|
Back to top |
|
 |
|