-
655f565f
by Peter Hutterer
at 2018-10-03T04:52:36Z
touchpad: if two fingers are within the lower thumb area, they're not thumbs
The shape of the average hand implies that two fingers down within the lower
thumb area (the bottom few mm of the touchpad) cannot be thumbs without
significant contortion. So let's not mark them as thumb.
Fixes #126
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
d98e4749
by Peter Hutterer
at 2018-10-04T00:44:27Z
touchpad: align the button state log messages
There's one state with a name longer than allocated but it's virtually never
triggered so let's just ignore the misalignment in that case.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
60d9defd
by Peter Hutterer
at 2018-10-04T00:44:55Z
touchpad: don't calculate movement for an already-moved touch
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
df1f6ba4
by Peter Hutterer
at 2018-10-04T00:44:55Z
touchpad: avoid motion events when moving one finger into AREA
If a 2fg scroll motion starts with both fingers in the bottom button area and
one finger moves into the main area before the other, we used to send motion
events for that finger. Once the second finger moved into the main area the
scroll was detected correctly but by then the cursor may have moved out of the
intended focus area.
We have two transitions where we may start sending motion events: when we move
out of the bottom area and when the finger moves by more than 5mm within the
button area. In both cases, check for any touches that are in the
bottom area and started at the 'same' time as our moving touch. Mark those as
'moved' to release them for gestures so we get the right finger count and
axis/gesture events instead of just motion events.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
260e4353
by Matthias Mayr
at 2018-10-08T21:21:36Z
quirks: suppress tablet-mode for Lenovo X220T keyboard. Resolves #154
The special bezel buttons are associated to the keyboard and would
therefore mistakenly be deactivated as well. See #154.
-
2bf3d57f
by Peter Hutterer
at 2018-10-10T06:36:50Z
quirks: fix palm size threshold for the Wacom PTH660
Copy/paste error in the hwdb to quirks transition
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
782bbdb2
by Peter Hutterer
at 2018-10-15T04:07:41Z
touchpad: only log the touch state if we have something to log
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
12dc64af
by Peter Hutterer
at 2018-10-15T04:46:53Z
touchpad: handle a touch ending and restarting in the same frame
If a touch ends and starts again in the same frame, our touch count gets out
of whack. This later triggers an assertion when the tap touch count mismatches
the real tap count.
E: 0.105005 0003 0039 -001 # EV_ABS / ABS_MT_TRACKING_ID -1
E: 0.105005 0003 0035 8447 # EV_ABS / ABS_MT_POSITION_X 8447
E: 0.105005 0003 0036 4479 # EV_ABS / ABS_MT_POSITION_Y 4479
E: 0.105005 0001 014a 0000 # EV_KEY / BTN_TOUCH 0
E: 0.105005 0001 0145 0000 # EV_KEY / BTN_TOOL_FINGER 0
E: 0.105005 0003 0039 0074 # EV_ABS / ABS_MT_TRACKING_ID 74
E: 0.105005 0003 0035 8388 # EV_ABS / ABS_MT_POSITION_X 8388
E: 0.105005 0003 0036 4480 # EV_ABS / ABS_MT_POSITION_Y 4480
E: 0.105005 0001 014a 0001 # EV_KEY / BTN_TOUCH 1
E: 0.105005 0001 0145 0001 # EV_KEY / BTN_TOOL_FINGER 1
E: 0.105005 0003 0000 8388 # EV_ABS / ABS_X 8388
E: 0.105005 0003 0001 4480 # EV_ABS / ABS_Y 4480
E: 0.105005 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- +19ms
This is a kernel bug but let's paper over here because otherwise we crash and
that's considered impolite.
Fixes #161
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
430ede82
by Peter Hutterer
at 2018-10-15T23:26:25Z
test: add tablet-mode suspend/resume keyboard and touchpad tests
Related #155
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
b0cd07bf
by Greg V
at 2018-10-16T10:01:02Z
quirks: use basename in a POSIX compliant way
The POSIX version of basename modifies the string (and therefore crashes
on static strings), so use safe_strdup before calling it.
glibc provides a POSIX version when libgen.h is included.
FreeBSD 12 provides a POSIX version when nothing is included, which was
causing a segfault.
Using the POSIX version correctly is the right way to avoid any such issues.
-
e96904e9
by Michał Kopeć
at 2018-10-18T20:08:28Z
quirks: don't disable keyboard for Lenovo X60 Tablet in tablet mode
Lenovo X60 tablet has bezel buttons that are bound to the keyboard.
They should not be disabled.
-
ec5d7702
by Peter Hutterer
at 2018-10-19T00:16:15Z
quirks: disable debouncing on the VMware Virtual mice
At least on MacBooks, the host emulates two clicks 8ms apart in response to a
doubletap. Those clicks are filtered by our debouncing code.
Since these are emulated devices anyway and by definition cannot have a stuck
button, let's tag them so we don't enable the debouncing code. If the button
of the physical device is stuck, that's a problem that needs to be fixed in
the host system.
Fixes #158
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
fd9e749f
by Peter Hutterer
at 2018-10-21T22:15:45Z
Remove obsolete HAVE_CONFIG_H check
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
4fa7a6b9
by Peter Hutterer
at 2018-10-21T22:16:02Z
test: move the custom parser test structs into the functions
No need to pollute the namespace here.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
5fd8c7cd
by Peter Hutterer
at 2018-10-24T05:23:37Z
libinput 1.12.2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
49b58311
by Peter Hutterer
at 2018-10-29T04:11:26Z
evdev: log the wheel click angle setting
Log if we use a non-default click angle setting, makes it easier to debug
this. The condition to add the log was a bit unwieldly to read, so this also
factors out the property names to temporary variables.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
981f3a47
by Peter Hutterer
at 2018-10-29T04:16:38Z
quirks: add the ability to disable custom event codes/types
This is a more flexible approach than adding a model flag and the C code to
just call libevdev_disable_event_code(). There's a risk users will think this
is is a configuration API but there are some devices out there (e.g. the
Microsoft Sculpt mouse) that need a more generic solution.
Case in point: the Sculpt mouse insists on holding BTN_SIDE down at all times.
We cannot ship any quirks for that device because we only have the receiver's
generic VID/PID. So a local override is required, but we might as well make
that one generic enough to catch other devices too in the future.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
4286dcd1
by Peter Hutterer
at 2018-10-29T04:16:38Z
quirks: switch a few model quirks over to use the new evcode disabling
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
91e681f2
by Ryan Walklin
at 2018-11-01T17:42:45Z
Don't disable keyboard for Lenovo X230 Tablet in tablet mode
This also disables the special buttons on the tablet screen. Re-enabling to allow screen rotation.
-
db56772d
by Peter Hutterer
at 2018-11-02T00:20:53Z
gitlab CI: swap Fedora 27 for Fedora 29
And run all the special stuff we currently run on F28 on F29
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
4584a1ea
by Peter Hutterer
at 2018-11-02T03:13:54Z
gitlab CI: buildah requires the transport protocol
Executing the script as illustrated sends it to nowhere (localhost maybe?),
prepending docker:// makes it recognize the hostname correctly and actually
upload it to gitlab.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
83c3a3c6
by Peter Hutterer
at 2018-11-02T03:13:54Z
Gitlab CI: use the docker:stable image for image creation
alpine:latest which is now the default image doesn't docker installed by
default. apk add docker results in failures
Warning: failed to get default registry endpoint from daemon
last time all this worked was when we defaulted to the docker:stable image,
see https://gitlab.freedesktop.org/libinput/libinput/-/jobs/8316
Let's switch back to that and move on with our lives.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
48a7c507
by Peter Hutterer
at 2018-11-05T04:28:13Z
tools: handle the EventCodeDisable quirk in the quirks tool
This caused an assertion
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
fcfffd80
by Peter Hutterer
at 2018-11-05T04:28:13Z
tools: drop a superfluous linebreak in the list-quirks output
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
6041d0ba
by Peter Hutterer
at 2018-11-05T04:28:13Z
test: fix a clang warning
test/test-misc.c:1065:28: warning: Value stored to 't' during its
initialization is never read
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
27bf3fb2
by Peter Hutterer
at 2018-11-06T00:24:06Z
tools: allow measuring single-touch ABS_PRESSURE
Fixes #173
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
67b2e326
by Peter Hutterer
at 2018-11-07T04:37:47Z
libinput 1.12.3
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
147fd9bf
by Arick McNiel-Cho
at 2018-12-12T04:35:08Z
Added quirk for HP Spectre x360 Convertable 15-bl1xx touchpad.
(cherry picked from commit 3bb62c973242957242061be86c90fa7f51df7789)
-
b31c5c9d
by Peter Hutterer
at 2018-12-12T04:35:13Z
doc/user: bugzilla → gitlab issue
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit d9c82dbb7080bb70e4ce29f48a0aedb32410c230)
-
e864ca3e
by Thomas Profitt
at 2018-12-12T04:35:20Z
quirks: Adjust MacBookPro11,2 touchpad PalmSize
The touchpad is 104mmx75mm, but an AttrPalmSizeThreshold of 800 is too
aggressive, and even relatively-small fingers and thumbs register as
palms sporadically, stopping the mouse until you lift your hand and try again.
1600 was chosen because it's the point at which my fingers and thumbs,
held at a very low angle, stop registering as palms, so it should
acommodate bigger fingers.
I don't know if the [Apple Touchpads USB] default of 800 needs to be
updated too, or if it's a quirk of this particular touchpad.
(cherry picked from commit ad50a9478976c5cbbb3a7acdef1290925a0c41da)
-
c3dbb867
by Peter Hutterer
at 2018-12-18T00:33:31Z
quirks: add a quirk for the Lenovo T480s clickpad
It's missing INPUT_PROP_BUTTONPAD but working kernel drivers prove to be
elusive. Meanwhile, add a quirk here that force-enables this bit.
Fixes #177
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 0cd65cf336c8cc242c471ac77aee7b7d816e7314)
-
e2e8db17
by Peter Hutterer
at 2018-12-18T00:33:33Z
libinput 1.12.4
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
44531a54
by Timo Aaltonen
at 2018-12-18T10:08:34Z
Merge branch 'upstream-unstable' into debian-unstable
-
3719d186
by Timo Aaltonen
at 2018-12-18T10:12:44Z
bump the version
-
cca01970
by Timo Aaltonen
at 2018-12-18T10:14:05Z
release to unstable