Buttonless Touchpad

From ThinkWiki
Jump to: navigation, search

The buttonless touchpad first appeared on the X220 and X1 (and possibly some IdeaPads) and is missing buttons below the trackpad. The trackpad can be pushed for a physical click, pivoting from the top. There is only one switch so the middle and right click must be configured by driver software.

Configuration

All functionality should work out of the box apart from possibly right click.

Arch Linux has a version of xf86-input-synaptics in the AUR compiled for "clickpads" called xf86-input-synaptics-clickpad

Problems

The default configuration of the xf86-input-synaptics driver makes the clickpad almost unusable (on the T440s). Clicks/Taps do not register properly, misclicking, no palm detection, no soft buttons where they should be, and so on...

The following configuration can be put in /etc/X11/xorg.conf.d/99-synaptics.conf As a result the clickpad will react a lot more 'calm' than before and the middle & right click button areas match with the printed ones on top of the clickpad.

Section "InputClass"
        Identifier "Default clickpad buttons"
        MatchDriver "synaptics"
	
	Option "SoftButtonAreas" "60% 0 0 2400 40% 60% 0 2400"
	Option "AreaTopEdge" "2400"

	Option "TapButton1" "1"
	Option "TapButton3" "2"
	Option "TapButton2" "3"

	# Calm the pad down while clicking
	Option "VertHysteresis" "50"
	Option "HorizHysteresis" "50"

	# Drag lock
	Option "LockedDrags" "1"

	# Tap to click
	Option "FingerLow" "50"
	Option "FingerHigh" "55"
	
	# Prevent accidental clicks
	Option "PalmDetect" "1"
	Option "PalmMinWidth" "5"
	Option "PalmMinZ" "40"
	
	# Natural scrolling
	Option "VertTwoFingerScroll" "1"
	Option "VertScrollDelta" "-90"
	Option "HorizTwoFingerScroll" "1"
	Option "HorizScrollDelta" "-90"
	
	Option "MinSpeed" "1"
	Option "MaxSpeed" "1"
	
	Option "AccelerationProfile" "2"
	Option "ConstantDeceleration" "4"
EndSection

For left-handed people, you should use instead :

Section "InputClass"
        Identifier "Default clickpad buttons"
        MatchDriver "synaptics"

        Option "SoftButtonAreas" "0 50% 82% 0 0 0 0 0"
        Option "SecondarySoftButtonAreas" "0 42% 0 15% 42% 58% 0 15%"

        Option "AreaTopEdge" "2400"

        Option "TapButton1" "1"
        Option "TapButton3" "2"
        Option "TapButton2" "3"

        # Calm the pad down while clicking
        Option "VertHysteresis" "50"
        Option "HorizHysteresis" "50"

        # Drag lock
        Option "LockedDrags" "1"

        # Tap to click
        Option "FingerLow" "50"
        Option "FingerHigh" "55"

        # Prevent accidental clicks
        Option "PalmDetect" "1"
        Option "PalmMinWidth" "5"
        Option "PalmMinZ" "40"

        # Natural scrolling
        Option "VertTwoFingerScroll" "1"
        Option "VertScrollDelta" "-90"
        Option "HorizTwoFingerScroll" "1"
        Option "HorizScrollDelta" "-90"

        Option "MinSpeed" "1"
        Option "MaxSpeed" "1"

        Option "AccelerationProfile" "2"
        Option "ConstantDeceleration" "4"
EndSection

Models featuring this Technology