Rotated touchscreen - need to swap X-Y Axis
Thomas Maenner
tmaenner at aehr.com
Tue Oct 10 20:46:23 PDT 2006
Hi all,
I have a touchscreen with a 3M MicroTouch USB controller running on Suse 10.1
and Xorg 6.9.0 server.
After rotating the screen with Option "Rotate" "CCW" in the Device section, I
included the touch portion as an evdev input device (other input device
drivers did not work...):
-----snip---
cat /proc/bus/input/
I: Bus=0003 Vendor=0596 Product=0102 Version=0001
N: Name="3M 3M MicroTouch USB controller"
P: Phys=usb-0000:00:1d.0-2/input0
S: Sysfs=/class/input/input9
H: Handlers=event3 js0
B: EV=10000b
B: KEY=10000 0 0 0 0
B: ABS=3
--------snip---
----snip------
Section "InputDevice"
Identifier "touchscreen0"
Driver "evdev"
Option "Device" "/dev/input/event3"
Option "DeviceName" "touchscreen"
Option "MinX" "2300"
Option "MinY" "2300"
Option "MaxX" "14000"
Option "MaxY" "14000"
Option "DragTimer" "200"
Option "MoveLimit" "600"
Option "ReportingMode" "Raw"
Option "SendCoreEvents"
EndSection
-----snip-----
Basically works, however the X and Y axis need to be swapped now too.
I'd appreciate any help on this.
Thanks much in advance
Tom
--
Thomas Maenner
E-Mail: mailto:tmaenner at aehr.com
More information about the xorg
mailing list