Bug 93401 - Make disabling touchpad movement possible as an option
Summary: Make disabling touchpad movement possible as an option
Status: RESOLVED WORKSFORME
Alias: None
Product: Wayland
Classification: Unclassified
Component: libinput (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-16 10:27 UTC by Michael
Modified: 2015-12-22 01:12 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.