Timo Aaltonen pushed to branch upstream-unstable at X Strike Force / lib / libinput
Commits: 033aee76 by José Expósito at 2021-12-13T13:07:24+10:00 doc/user: fix broken link to systemd 60-evdev.hwdb Signed-off-by: José Expósito <[email protected]> (cherry picked from commit be3c09bc1562b20db3e6533ab2e3347d05376a11) - - - - - 54275910 by José Expósito at 2021-12-13T13:07:33+10:00 gestures: cancel hold gestures on thumb detection Before hold gestures where implemented, when a thumb was detected it was enough to reset the state machine. However, now it is possible to detect a thumb while a hold gesture is in course. Cancel any ongoing gesture when a thumb is detected to avoid dropping the gesture end event. See #693 Signed-off-by: José Expósito <[email protected]> (cherry picked from commit 5e44861e0ed7fdb447170a03adb9ff361ae6e4ce) - - - - - 5e7bae44 by Gary Wolfe at 2021-12-13T13:07:40+10:00 quirks: Dell 15R touchpad settings for firmware v3 Trackpad sensitivity adjustment only needed for v3 for Dell Inspiron 15R N5110. Fixes #565 and #676. Signed-off-by: Gary Wolfe <[email protected]> (cherry picked from commit 607abecfbd771cf1afe8a7ee9c2f738fe729395e) - - - - - 7db2a339 by Alexander Radovich at 2021-12-13T13:08:01+10:00 quirks: add ModelBouncingKeys for A4Tech X-710BK Mouse Signed-off-by: Alexander Radovich <[email protected]> (cherry picked from commit 35c5ef4e303116bc7f3c74948819ac9583b6897f) - - - - - 797a66c1 by José Expósito at 2021-12-13T13:08:10+10:00 doc/user: fix broken link to "Observations on trackpoint input data" Signed-off-by: José Expósito <[email protected]> (cherry picked from commit 556e4114b8e804b478feb50009373cbb4d854034) - - - - - ed79e4fa by Joaquin Gonzalez at 2021-12-13T13:08:14+10:00 quirks: changes touchpad pressure Lenovo Yoga 2 Pro Adds touchpad pressure configuration for Lenovo Yoga 2 Pro in order to avoid random cursor jumps on finger up. Signed-off-by: Joaquin Gonzalez <[email protected]> (cherry picked from commit 0bd1560750f7aa84cde173976e31c452586ec63b) - - - - - 11f878df by Peter Hutterer at 2021-12-13T13:08:42+10:00 libinput 1.19.3 Signed-off-by: Peter Hutterer <[email protected]> - - - - - 7 changed files: - doc/user/tablet-debugging.rst - doc/user/trackpoints.rst - meson.build - + quirks/30-vendor-a4tech.quirks - quirks/50-system-dell.quirks - quirks/50-system-lenovo.quirks - src/evdev-mt-touchpad-gestures.c Changes: ===================================== doc/user/tablet-debugging.rst ===================================== @@ -39,6 +39,6 @@ the ``libinput record`` tool. - **resolution** indicates that the device does not have a resolution set for the x and y axes. This can be fixed with a hwdb entry, locate and read the `60-evdev.hwdb - <https://github.com/systemd/systemd/tree/master/hwdb/60-evdev.hwdb>`__ file + <https://github.com/systemd/systemd/blob/main/hwdb.d/60-evdev.hwdb>`__ file on your machine and file a pull request with the fixes against `systemd <https://github.com/systemd/systemd/>`__. ===================================== doc/user/trackpoints.rst ===================================== @@ -50,7 +50,7 @@ decreases, the delta decrease first, then the reporting rate until the trackpoint is in a neutral state and no events are reported. Trackpoint data is hard to generalize, see `Observations on trackpoint input data -<a href="https://who-t.blogspot.com/2018/06/observations-on-trackpoint-input-data.html">`_ +<https://who-t.blogspot.com/2018/06/observations-on-trackpoint-input-data.html>`_ for more details. .. figure:: trackpoint-delta-illustration.svg ===================================== meson.build ===================================== @@ -1,5 +1,5 @@ project('libinput', 'c', - version : '1.19.2', + version : '1.19.3', license : 'MIT/Expat', default_options : [ 'c_std=gnu99', 'warning_level=2' ], meson_version : '>= 0.49.0') ===================================== quirks/30-vendor-a4tech.quirks ===================================== @@ -0,0 +1,5 @@ +[A4TECH USB X-710BK] +MatchVendor=0x09DA +MatchProduct=0x9090 +MatchUdevType=mouse +ModelBouncingKeys=1 ===================================== quirks/50-system-dell.quirks ===================================== @@ -14,7 +14,8 @@ AttrMscTimestamp=watch [Dell Inspiron 15R N5110 Touchpad] MatchUdevType=touchpad MatchName=*AlpsPS/2 ALPS GlidePoint -MatchDMIModalias=dmi:*bvrA07*svnDellInc.:*pnInspironN5110* +MatchVersion=0x0300 +MatchDMIModalias=dmi:*svnDellInc.:*pnInspironN5110* AttrPressureRange=100:95 [Dell Latitude E5510 Touchpad] ===================================== quirks/50-system-lenovo.quirks ===================================== @@ -272,3 +272,11 @@ MatchBus=bluetooth MatchVendor=0x17EF MatchProduct=0x60E1 ModelLenovoTrackpointKeyboard2=1 + +# Modifies pressure range to avoid random jumps. +# https://gitlab.freedesktop.org/libinput/libinput/-/issues/407 +[Lenovo Yoga 2 Pro touchpad] +MatchUdevType=touchpad +MatchName=*SynPS/2 Synaptics TouchPad +MatchDMIModalias=dmi:*svnLENOVO:*:pvrLenovoYoga2Pro* +AttrPressureRange=50:45 ===================================== src/evdev-mt-touchpad-gestures.c ===================================== @@ -958,7 +958,7 @@ tp_gesture_detect_motion_gestures(struct tp_dispatch *tp, uint64_t time) */ if (tp->thumb.detect_thumbs && thumb_mm < min_move) { tp_thumb_suppress(tp, thumb); - tp_gesture_handle_event(tp, GESTURE_EVENT_RESET, time); + tp_gesture_cancel(tp, time); return; } View it on GitLab: https://salsa.debian.org/xorg-team/lib/libinput/-/compare/ac385e12dcfd353dc07f1d732732b394311ce8c2...11f878df884adc3a13d1df8b40c1947616283ef8 -- View it on GitLab: https://salsa.debian.org/xorg-team/lib/libinput/-/compare/ac385e12dcfd353dc07f1d732732b394311ce8c2...11f878df884adc3a13d1df8b40c1947616283ef8 You're receiving this email because of your account on salsa.debian.org.

