Multiple clicks with touchscreen

Kerrick Staley mail at kerrickstaley.com
Thu Aug 11 03:33:14 PDT 2011


Here's the section of Xorg.0.log that seems relevant:
[  3051.308] (II) config/udev: Adding input device QUANTA
OpticalTouchScreen (/dev/input/event1)
[  3051.308] (**) QUANTA OpticalTouchScreen: Applying InputClass
"evdev touchscreen catchall"
[  3051.308] (II) Using input driver 'evdev' for 'QUANTA OpticalTouchScreen'
[  3051.308] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  3051.308] (**) QUANTA OpticalTouchScreen: always reports core events
[  3051.308] (**) QUANTA OpticalTouchScreen: Device: "/dev/input/event1"
[  3051.308] (--) QUANTA OpticalTouchScreen: Found absolute axes
[  3051.308] (--) QUANTA OpticalTouchScreen: Found x and y absolute axes
[  3051.308] (--) QUANTA OpticalTouchScreen: Found absolute touchscreen
[  3051.308] (II) QUANTA OpticalTouchScreen: Configuring as touchscreen
[  3051.308] (**) QUANTA OpticalTouchScreen: YAxisMapping: buttons 4 and 5
[  3051.308] (**) QUANTA OpticalTouchScreen: EmulateWheelButton: 4,
EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  3051.308] (**) Option "config_info"
"udev:/sys/devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0/input/input1/event1"
[  3051.308] (II) XINPUT: Adding extended input device "QUANTA
OpticalTouchScreen" (type: TOUCHSCREEN)
[  3051.308] (II) QUANTA OpticalTouchScreen: initialized for absolute axes.
[  3051.308] (**) QUANTA OpticalTouchScreen: (accel) keeping
acceleration scheme 1
[  3051.308] (**) QUANTA OpticalTouchScreen: (accel) acceleration profile 0
[  3051.308] (**) QUANTA OpticalTouchScreen: (accel) acceleration factor: 2.000
[  3051.308] (**) QUANTA OpticalTouchScreen: (accel) acceleration threshold: 4
[  3051.308] (II) config/udev: Adding input device QUANTA
OpticalTouchScreen (/dev/input/mouse0)
[  3051.308] (II) No input driver/identifier specified (ignoring)

Here are all the config settings I have in /etc/X11/xorg.conf.d (there
is no main xorg.conf file):
$ cat 10-evdev.conf
#
# Catch-all evdev loader for udev-based systems
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.

Section "InputClass"
        Identifier "evdev pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

$ cat 10-quirks.conf
# Collection of quirks and blacklist/whitelists for specific devices.


# Accelerometer device, posts data through ABS_X/ABS_Y, making X unusable
# http://bugs.freedesktop.org/show_bug.cgi?id=22442
Section "InputClass"
        Identifier "ThinkPad HDAPS accelerometer blacklist"
        MatchProduct "ThinkPad HDAPS accelerometer data"
        Option "Ignore" "on"
EndSection

$ cat 10-synaptics.conf
Section "InputClass"
        Identifier "touchpad catchall"
        Driver "synaptics"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Option "TapButton1" "1"
        Option "TapButton2" "2"
        Option "TapButton3" "3"
EndSection

$ cat 20-disable-default-mouse-pointer.conf
Section "InputClass"
        Identifier "disable /dev/input/mice"
        MatchDevicePath "/dev/input/mice"
        Option "Ignore" "on"
EndSection

Thanks,
Kerrick



More information about the xorg mailing list