Bug 93401

Summary: Make disabling touchpad movement possible as an option
Product: Wayland Reporter: Michael <michaelkiesenhofer>
Component: libinputAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED WORKSFORME QA Contact:
Severity: enhancement    
Priority: medium CC: peter.hutterer
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Michael 2015-12-16 10:27:59 UTC
Make it possible to disable the movement of the Touchpad while keeping buttons working. This feature is especially important for people who want to use the Trackpoint of their Thinkpad X240, T440, W540 etc. These devices lack physical Trackpoint buttons, thus require an enabled Touchpad. Disabling only the movement would avoid unwanted cursor movement when clicking or accidentally touching the Touchpad.

With the synaptics driver a simple synclient touchpadoff=1 used to be enough.

I’ve done a quick&dirty “fix” in libinput for myself by uncommenting line 920 in evdev-mt-touchpad.c:

		tp_thumb_detect(tp, t, time);
		tp_palm_detect(tp, t, time);

		//tp_motion_hysteresis(tp, t);
		//tp_motion_history_push(t);

		tp_unpin_finger(tp, t);

Unfortunately I lack knowledge to implement this as an exposed option.
Comment 1 Peter Hutterer 2015-12-22 01:12:00 UTC
If you set the touchpad's sendevents mode to disabled, the touchpad will stop working but the top software buttons will continue to work. See libinput_device_config_send_events_set_mode()

http://wayland.freedesktop.org/libinput/doc/latest/group__config.html

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.