Difference between revisions of "Touchscreen"
From Alessandro's Wiki
Line 23: | Line 23: | ||
* and in the "ServerLayout" section: | * and in the "ServerLayout" section: | ||
InputDevice "dummy" | InputDevice "dummy" | ||
== wacom-s == | |||
{{File|/etc/X11/xorg.conf|<pre>... | |||
# Synaptics Touchpad device | |||
Section "InputDevice" | |||
Identifier "touchpad" | |||
Option "Protocol" "IMPS/2" | |||
Option "Device" "/dev/input/mice" | |||
Option "Emulate3Buttons" | |||
# Option "Emulate3Timeout" "50" | |||
EndSection | |||
# wacom pen device | |||
Section "InputDevice" | |||
Driver "wacom" | |||
Identifier "stylus" | |||
Option "type" "stylus" | |||
Option "device" "/dev/input/tablet-tpc93-stylus" | |||
Option "USB" "on" | |||
Option "ForceDevice" "ISDV4"#Doesn't seem to be needed with option above | |||
# Without this, the button on the stylus won't work with newer linuxwacom | |||
Option "TPCButton" "off" | |||
# Make the stylus button a right-click | |||
Option "Button2" "3" | |||
EndSection | |||
Section "InputDevice" | |||
Driver "wacom" | |||
Identifier "eraser" | |||
Option "type" "eraser" | |||
Option "device" "/dev/input/tablet-tpc93-stylus" | |||
Option "USB" "on" | |||
Option "ForceDevice" "ISDV4"#Doesn't seem to be needed with option above | |||
EndSection | |||
# Wacom touchscreen | |||
Section "InputDevice" | |||
Driver "wacom" | |||
Identifier "touch" | |||
Option "type" "touch" | |||
Option "device" "/dev/input/tablet-tpc93-touch" | |||
Option "USB" "on" | |||
Option "ForceDevice" "ISDV4"$Doesn't seem to be needed with above option | |||
# Calibration for the touch screen (same options for above devices). Yours may vary and you should try without these first. | |||
Option "TopX" "1025" | |||
Option "TopY" "800" | |||
Option "BottomX" "25400" | |||
Option "BottomY" "15500" | |||
EndSection | |||
... | |||
Section "ServerLayout" | |||
InputDevice "touchpad" "CorePointer" | |||
InputDevice "stylus" "SendCoreEvents" | |||
InputDevice "eraser" "SendCoreEvents" | |||
InputDevice "touch" "SendCoreEvents" | |||
... | |||
EndSection | |||
</pre>}} |
Revision as of 23:16, 21 November 2011
- installing IIyama multitouch screen:
- dmesg
usb 2-1.2: new full speed USB device number 22 using ehci_hcd usb 2-1.2: New USB device found, idVendor=0408, idProduct=3001 usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 usb 2-1.2: Product: OpticalTouchScreen usb 2-1.2: Manufacturer: QUANTA
- lsusb:
Bus 002 Device 022: ID 0408:3001 Quanta Computer, Inc. Optical Touch Screen
- hide the mouse pointer: xorg.conf
Section "InputDevice" Identifier "dummy" Driver "void" Option "Device" "/dev/input/mice" EndSection
- and in the "ServerLayout" section:
InputDevice "dummy"