Timo Aaltonen pushed to branch debian-unstable at X Strike Force / lib / 
libinput


Commits:
3f2c4834 by Konstantin Kharlamov at 2021-03-02T09:07:42+03:00
util-list.h: simplify code by removing an excess initialization

The assignment of zero is done to work around false-positives of
coverity about uninitialized variable usage. Getting rid of it inside
the macro will allow in later commit to declare a variable inside
`for-loop` rather than outside of it.

Do it by declaring a new list_first_entry_by_type helper which accepts a
type rather than a variable.

Signed-off-by: Konstantin Kharlamov <hi-an...@yandex.ru>

- - - - -
3d3d9b7f by Konstantin Kharlamov at 2021-03-02T09:10:35+03:00
treewide: get rid of `tmp` argument in list_for_each_safe

Signed-off-by: Konstantin Kharlamov <hi-an...@yandex.ru>

- - - - -
5e69c5f9 by Pedro Ribeiro at 2021-03-02T23:07:48+00:00
Add Lenovo Legion 5 keyboard to 50-system-lenovo.quirks

Signed-off-by: Pedro Ribeiro <ped...@gmail.com>
- - - - -
c00c5cb6 by weizhixiang at 2021-03-08T20:59:20+00:00
replace strncmp with strneq for safety-check

Signed-off-by: weizhixiang <weizhixi...@uniontech.com>

- - - - -
40b83b11 by Peter Hutterer at 2021-03-10T09:54:07+10:00
completion: add missing libinput analyze subtools to the zsh completions

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
fe30bea3 by Peter Hutterer at 2021-03-10T00:24:51+00:00
tools/per-slot-delta: print the button state too while analyzing

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
f17ef2d5 by Peter Hutterer at 2021-03-10T00:24:51+00:00
tools/per-slot-delta: handle KeyboardInterrupts nicely

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
de706612 by Peter Hutterer at 2021-03-10T03:48:21+00:00
util: document our list interface

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
c71fa066 by Peter Hutterer at 2021-03-11T10:40:00+10:00
tools/debug-gui: start the unaccelerated motion deltas in the screen center

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
e99f5942 by Peter Hutterer at 2021-03-11T10:40:00+10:00
tools/debug-gui: move the pointer position into a struct point

No functional change

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
1926a66f by Peter Hutterer at 2021-03-11T10:40:00+10:00
tools/debug-gui: move the abs pointer position into a struct point

No functional changes

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
39b64107 by Peter Hutterer at 2021-03-11T10:40:00+10:00
tools/debug-gui: draw a sprite for the unaccelerated pointer as well

Add a second grey v-shaped (upside down triangle) pointer that moves around
with the unaccelerated deltas. This makes it easier to visualize how the
unaccelerated pointer moves around, the snake helps for some use-cases but not
all of them.

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
31d20acd by Peter Hutterer at 2021-03-11T16:32:59+10:00
test: fix two inadvertent pointer jumps in a test

Got papered over by bugs in the implementation and didn't trigger the jump
detection or movement detection otherwise.

Related to #578

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
832c346b by Peter Hutterer at 2021-03-11T16:32:59+10:00
test: add a comment to the thumb speed test

Incorrect comment, the purpose of this test was to ensure that an unused slot
doesn't affect how other touches are treated, see commit 928bad9.

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
42d6fed8 by Peter Hutterer at 2021-03-11T16:33:00+10:00
touchpad: always push a touch's current point to the motion history

The way touchpads (generally) work is that they get the position of each
finger on each scanout. The kernel filters touches that haven't moved to
reduce bandwidth so any touch that is logically down that we don't see an
update for is in the same position as during the last scanout.

Previously, touches that didn't sent events were effectively ignored, 
causing
our jump detection to fail:
- time t0: touch moves to position x/y, motion history time is set to t0
- time t1..t5: touch remains at position for several frames, no updates to the
  motion history
- time t6: touch jumps to position x+a/y+b
  - tp_detect_jumps() sees the last update time is t0 which is too long ago
    and exits without detecting a jump

This is fixed by pushing to the motion history any time we have *any* update -
if the touchpad notices a state change on any touch update all touches with
their current position, whether it changed or not.

This obsoletes the `time` field in the tp_touch struct, most of this patch is
passing down the current time to the few users of t->time.

Fixes #578

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
3427b457 by Peter Hutterer at 2021-03-15T16:15:57+10:00
test: localize a few variables

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
cbff56e6 by Peter Hutterer at 2021-03-15T16:17:19+10:00
test: update a few tests for more modern helpers

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
1d0dbd24 by Peter Hutterer at 2021-03-16T06:03:56+00:00
filter: correct comments about the threshold's unit

See d6e531349745ff38ae457169d5089ea61297accf for confirmation that the
threshold is intended to be in mm/s, the comment here is simply a leftover from
earlier times when the acceleration method was using device-units only.

Fixes #585

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
2f8dab45 by Peter Hutterer at 2021-03-16T21:29:56+00:00
doc/user: explain why we are doing motion normalization

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
5129d178 by Peter Hutterer at 2021-03-16T21:29:56+00:00
test: fix debugging messages for gesture begin event

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
dee0e5e7 by Peter Hutterer at 2021-03-16T21:29:56+00:00
test: simplify the helper for moving three touches at the same time

There's no test case where we need to do something immediately after the 
last
event so we might as well do everything in the same loop.

This also fixes a bug where the first movement would usually get swallowed.
Test cases in general put the finger down at x/y, then move them to some other
position. We'd expect the first event in a loop to happen at x+n/y+n, not at
x/y again.

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
1d9cdf76 by Peter Hutterer at 2021-03-16T21:29:56+00:00
test: push/pop event frames around three-touch movements

Without this, each finger movement happens in a different evdev event frame.
Since we average deltas for gestures, this messes with the expected data.

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
60d5172e by Alexander Mikhaylenko at 2021-03-16T21:29:56+00:00
gestures: Filter unaccelerated deltas for gestures

Make sure the unaccelerated deltas are comparable to scroll deltas.

edit by whot:
The original intention of the unaccelerated motion data here was to provide
both accelerated and unaccelerated motion for gestures so it was possible to
have 1:1 mapping from gesture motion to screen activity.

Normalizing to 1000dpi this way would've worked for mice but touchpad
acceleration also includes the TP_MAGIC_SLOWDOWN (amongst other tricks) which
slows down motion to around 27% *before* applying the acceleration function.
On a 1000dpi touchpad (~40 units/mm) simply normalizing touchpad motion to
1000dpi results in pointer motion that is way too fast, it's lacking that
slowdown to 27% of original speed.

This results in the accelerated and unaccelerated gesture data being in
effectively two different coordinate systems with the caller having no ability
to relate the two.

Switching to the special constant acceleration applies that slowdown and
matches the data to the part of the acceleration curve where no (additional)
acceleration is applied.

It makes the gesture unaccelerated data comparable to the accelerated data
and to scroll data which uses the same process.

Fixes #582

Signed-off-by: Alexander Mikhaylenko <al...@gnome.org>
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
83b3670c by Peter Hutterer at 2021-03-16T21:29:56+00:00
tests: add a gesture test to ensure our unaccel deltas are in a sane range

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
5f00c32d by Greg V at 2021-03-17T02:34:30+00:00
quirks: recognize SPI bus

Apple MacBooks (Broadwell/Skylake/Kaby Lake and Apple Silicon)
use SPI to communicate with the keyboard and trackpad.

Signed-off-by: Greg V <greg@unrelenting.technology>

- - - - -
d8b1a773 by Greg V at 2021-03-17T02:34:30+00:00
quirks: add quirks for Apple SPI input devices

The Linux applespi driver currently uses the Synaptics vendor ID
on the trackpad for some reason (even though, at least from bcm5974
we only know that Broadcom is involved..) but my upcoming FreeBSD driver
uses the Apple vendor ID everywhere, so add two quirks.

Signed-off-by: Greg V <greg@unrelenting.technology>

- - - - -
6941f740 by Greg V at 2021-03-17T02:34:30+00:00
quirks: implement DMI support on FreeBSD

FreeBSD does not use Linux modaliases, so we have to generate these strings.
Unfortunately for us, the data in kenv has the chassis type pre-parsed into
a nice string, so we have to match these strings back into numbers.
Only relevant types are included to avoid bloating the code.

Signed-off-by: Greg V <greg@unrelenting.technology>

- - - - -
06697b5e by Greg V at 2021-03-17T02:34:30+00:00
quirks: add wildcard to HID-over-I2C names (for FreeBSD)

The FreeBSD HID stack adds the device type to the evdev name,
so we get e.g. "ACPI0C50:00 18D1:5028 TouchPad".

(Maybe this shouldn't be matched by name at all though...)

Signed-off-by: Greg V <greg@unrelenting.technology>

- - - - -
0f79fe66 by JoseExposito at 2021-03-17T03:23:56+00:00
fallback: replace fallback_dispatch->wheel with an anonymous struct

The current fallback_dispatch wheel struct, a device_coords, doesn't allow 
to
save extra information.
The new anonymous struct will allow to add a is_inhibited field to disable mouse
scroll while the middle button is pressed and, potentially, any required extra
state in the future.

Signed-off-by: José Expósito <jose.exposit...@gmail.com>

- - - - -
cd4f2f32 by JoseExposito at 2021-03-17T03:23:56+00:00
fallback: disable mouse scroll wheel while middle button is pressed

Signed-off-by: José Expósito <jose.exposit...@gmail.com>

- - - - -
2babdba1 by JoseExposito at 2021-03-19T08:37:02+01:00
tools/code-formatting: Add EditorConfig file

EditorConfig helps maintain consistent coding styles for multiple developers
working on the same project across various editors and IDEs:
https://editorconfig.org/

Signed-off-by: José Expósito <jose.exposit...@gmail.com>

- - - - -
0828fdce by Peter Hutterer at 2021-03-26T10:12:40+10:00
tools/record: factor out the output file collection

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
8b822a84 by Peter Hutterer at 2021-03-26T10:12:40+10:00
tools/record: de-duplicate an error message

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
e511f962 by Peter Hutterer at 2021-03-26T10:12:40+10:00
tools/record: localize a variable

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
4da9349a by Peter Hutterer at 2021-03-26T10:12:40+10:00
tools/record: free the namelist when we're done

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
7f4df04d by Peter Hutterer at 2021-03-30T08:26:30+10:00
tools/record: deduplicate the device opening logic

With a new helper function strv_from_argv we can re-use the device opening
loop for all the use-cases we have.

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
9011f918 by Peter Hutterer at 2021-03-30T08:33:49+10:00
tools/record: switch the output file from an fd to a FILE*

This is prep work to be more consistent with the use of tempfile later for
individual devices.

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
632eedad by Peter Hutterer at 2021-03-30T08:33:49+10:00
tools/record: mark the iprintf function as printf

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
0cdf4596 by Peter Hutterer at 2021-03-30T09:02:31+10:00
tools/record: get rid of indent push/pop, replace with fixed indents

Our file format is static enough that we don't need to use push/pop, we know
exactly which line is going where. So let's replace it with a static
indent instead.

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
0b23cb1b by Peter Hutterer at 2021-03-30T09:02:31+10:00
tools/record: append the devices in-order

Using list_insert() here means the last device specified on the commandline is
the one that ends up in the file first - not very obvious...

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
7957f198 by Peter Hutterer at 2021-03-30T09:02:31+10:00
tools/record: remember the first device in the context

No functional changes since we can get this easily from the list itself, but
in the future the first device will be used more extensively.

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
bacf4e5a by Peter Hutterer at 2021-03-30T09:02:31+10:00
tools/record: rename the output file handling

Less confusing than having output_file, out_file, and outfile.

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
33b30d46 by Peter Hutterer at 2021-03-30T09:02:31+10:00
tools/record: rework the event printing

For historical (but not very good) reasons, libinput record printed events
from the first device to the output file (or stdout) and buffered everything
else. On ctrl+c, the other devices' descriptions and the buffered events 
were
appended to the output file.

This makes the printing code rather complex. Simplify it by giving each device
a separate FILE* - the first device points to the real output file, the others
to a tempfile. On Ctrl+C we just append those tempfiles to the real output
file one-by-one and done.

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
943e258c by Peter Hutterer at 2021-03-30T09:02:31+10:00
tools/record: line up the "neutral state" message

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
74f6821d by Ben Weston at 2021-04-03T23:24:33+01:00
quirk: fix sensitivity for Dell Latitude 7490 pointing-stick

Signed-off-by: Ben Weston <b.westo...@gmail.com>

- - - - -
c71a1f43 by JoseExposito at 2021-04-06T05:10:32+00:00
touchpad/clickfinger: limit middle click to 3 fingers

Don't middle click on clickpads with click method clickfinger when more than
3 fingers are used.

Signed-off-by: José Expósito <jose.exposit...@gmail.com>

- - - - -
f723b282 by Jonas Ådahl at 2021-04-06T16:33:42+02:00
tablet-pad-leds: Open led file with O_NONBLOCK | O_CLOEXEC

We don't want the file to be left open after any fork/exec, and we don't
want the read to be blocking; so open it as such.

Signed-off-by: Jonas Ådahl <jad...@gmail.com>

- - - - -
95a72990 by Peter Hutterer at 2021-04-07T12:38:25+10:00
evdev: don't check the event time if it's higher than the dispatch time

The dispatch time is taken during libinput_dispatch(), i.e. at the beginning
of an event sequence. We always read all events off the device, so where
events come in while we're inside the main dispatch loop, our event time may
be later than the saved dispatch_time. This causes an uint underflow and our
tdelta > 10 will be true for that case.

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
04dc67e0 by Peter Hutterer at 2021-04-09T10:14:47+10:00
evdev: don't truncate event time to 32 bits

This causes a bunch of "your system is too slow" messages in e.g. the 
various
gesture tests.

Fixes 95a72990
Fixes #601

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
9ce8d561 by Chris Dickson at 2021-04-09T11:17:24-05:00
quirks: mark the 0x252 razer keyboard as internal

Signed-off-by: Chris Dickson <hoboch...@pm.me>

- - - - -
b64a60a6 by JoseExposito at 2021-04-13T14:00:57+10:00
libinput: change gesture notify cancel parameter from int to bool

Change the "cancel" parameter in the existing notify methods (swipe, 
pinch and
gesture_notify) from int to bool. It is used as boolean, the fact that it's 
an
int is just a historical quirkyness.

Signed-off-by: José Expósito <jose.exposit...@gmail.com>

- - - - -
82da7517 by JoseExposito at 2021-04-13T14:01:11+10:00
gestures: rename int filter_motion to bool ignore_motion

Use a bool instead of an int and also rename the variable to avoid ambiguity
with tp_filter_motion().

Signed-off-by: José Expósito <jose.exposit...@gmail.com>

- - - - -
020f13e1 by JoseExposito at 2021-04-13T14:01:11+10:00
gestures: move the code to get raw pointer motion to its own function

Signed-off-by: José Expósito <jose.exposit...@gmail.com>

- - - - -
73ef2d70 by JoseExposito at 2021-04-13T14:01:11+10:00
gestures: move up some functions to use them later

Move tp_gesture_same_directions, tp_gesture_mm_moved and tp_gesture_init_pinch
to be able to use them in future commits.

Signed-off-by: José Expósito <jose.exposit...@gmail.com>

- - - - -
3565dafd by JoseExposito at 2021-04-13T14:01:11+10:00
gestures: move the logic to detect gestures to its own function

Move the code in used to detect motion based gestures (scroll, swipe and pinch)
to tp_gesture_detect_motion_gestures.

Signed-off-by: José Expósito <jose.exposit...@gmail.com>

- - - - -
10124797 by Peter Hutterer at 2021-04-14T15:04:39+10:00
quirks: add palm size quirk for the Gigabyte Aero 15

Fixes #599

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
144f5ed9 by Udo Rader at 2021-04-20T02:15:03+00:00
quirks: add quirk for Lenovo Yoga Slim 9 Touchpad

This touchpad is a pressure pad and needs the pressure
handling disabled.

Fixes #604

Signed-off-by: Udo Rader <udo.ra...@bestsolution.at>

- - - - -
f92a388c by Peter Hutterer at 2021-04-21T00:15:42+00:00
touchpad: factor out clickpad assignment to a helper

No functional changes

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
16d5d78a by Peter Hutterer at 2021-04-21T00:15:42+00:00
touchpad: use some helper variables to make the code easier to read

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
467266bb by Peter Hutterer at 2021-04-21T00:15:42+00:00
touchpad: a touchpad with only one button is a clickpad

There is only one touchpad with a physical left button but no right button and
that is the old Apple touchpad, discontinued in 2008. Not a huge number of
those left, I assume.

So let's change our assumptions because these days the vast majority of
touchpads are clickpads - any touchpad that only has a left button is treated
as clickpad, even where the kernel doesn't set the INPUT_PROP_BUTTONPAD.

We do need to check for BTN_LEFT as well though, because Wacom touchpads (i.e.
the touch part of non-integrated Wacom tablets) don't have a left button
either.

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
a37d6dcc by Peter Hutterer at 2021-04-21T00:15:42+00:00
touchpad: if we have a right button, let's assume it's not a clickpad

This assumption dates back roughly a decade when INPUT_PROP_BUTTONPAD was
introduced into the kernel. To my knowledge, devices right now erroneously
advertise INPUT_PROP_BUTTONPAD when they are not a clickpad (but then they
have BTN_RIGHT) or they lack INPUT_PROP_BUTTONPAD (and only have BTN_LEFT).

So let's change our assumption here - if a clickpad has a right button log 
the
kernel bug and continue with the assumption the device is a touchpad with
physical buttons.

To disable that warning, fix the kernel or add an AttrInputPropDisable quirk
for the device.

Fixes #595

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
72f747f2 by Peter Hutterer at 2021-04-23T01:41:12+00:00
gitlab CI: switch to Ubuntu 21.04

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
65c27713 by Peter Hutterer at 2021-04-29T10:30:49+10:00
doc/user: fix a link to the system hwdb file

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
354df8bc by Peter Hutterer at 2021-04-29T01:31:03+00:00
Change various references to the master branch to main

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
57811e40 by Peter Hutterer at 2021-04-30T14:54:35+10:00
tools/record: fix a strlen assumption

We want to be able to print single-character strings.

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
7da7cd21 by Peter Hutterer at 2021-04-30T14:54:35+10:00
tools/record: print the HID report descriptor as hex

YAML does support hex as long as it's 0x-prefixed. The comment here 
(probably)
dates from an in-development version of libinput-record that used JSON.
Anyway, let's print the HID report descriptor as hex because that's the 
common
format for it.

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
b38c6ca6 by Peter Hutterer at 2021-04-30T14:54:35+10:00
tools/record: linebreak the hid report descriptor every 16 bytes

New output:

 hid: [
    0x05, 0x0d, 0x09, 0x04, 0xa1, 0x01, 0x85, 0x01, 0x09, 0x22, 0xa1, 0x02, 
0x09, 0x42, 0x15, 0x00,
    0x25, 0x01, 0x75, 0x01, 0x95, 0x01, 0x81, 0x02, 0x75, 0x01, 0x81, 0x03, 
0x75, 0x06, 0x09, 0x51,
    0x25, 0x3f, 0x81, 0x02, 0x26, 0xff, 0x00, 0x75, 0x08, 0x09, 0x48, 0x81, 
0x02, 0x09, 0x49, 0x81,
    ...

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
b1f958a1 by Hans Gaiser at 2021-05-04T00:55:04+00:00
Add quirk for Lenovo Legion 5 Pro.

Signed-off-by: Hans Gaiser <hans...@gmail.com>

- - - - -
20b2123f by Nicolas Fella at 2021-05-04T21:16:55+02:00
doc/user: Add instructions for using with CMake

CMake provides a nice way to use libinput, let the world now.

Signed-off-by: Nicolas Fella <nicolas.fe...@gmx.de>

- - - - -
f1b16c18 by Peter Hutterer at 2021-05-05T12:46:33+10:00
meson.build: bump to 1.17.900

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
cf1abf08 by Peter Hutterer at 2021-05-05T03:59:34+00:00
tools/record: add support for hidraw recording

New commandline switch --with-hidraw. This will open all hidraw devices
associated with this device and add any reports to the output in the
form:

  events:
    - hid:
        time: [0, 0]
        hidraw1: [0x01, 0x02, 0x03, 0x05, 0x06]
        hidraw2: [0x07, 0x08, 0x09, 0x0a, 0x0b]
    - evdev:
      ...

i.e. there's a nesting of `hid` with a list of reports, each with the hidraw
node as dictionary entry.

Because hidraw events do not have timestamps and always occur before the evdev
events, they are in a separate frame (as shown above). We could try to figure
out how to match them with the upcoming evdev frame but it's not worth it 
for
now.

The timestamp itself is a special key in the hidraw with the timestamp from
clock_gettime.

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
5a6f141b by Peter Hutterer at 2021-05-12T10:23:33+10:00
gitlab CI: bump from Fedora 32 to 34

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
b1c9667a by Peter Hutterer at 2021-05-12T11:50:11+10:00
editorconfig: add settings for python files

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
5dc00032 by Peter Hutterer at 2021-05-12T13:31:42+10:00
gitlab CI: add a JUnit XML report for scan-build

Use a scan-build wrapper to generate plist files, then parse those into a
JUnit xml format. This makes the errors appear on the main MR page as opposed
to being hidden in the artifacts somewhere.

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
4c82cbd4 by Peter Hutterer at 2021-05-18T23:14:44+00:00
tools/replay: do not replay key repeat events

The kernel emulates key events on its own anyway, replaying key events with
libinput replay as well just duplicates the events. Turning kernel
repeat off is not an option, it  makes the device look different (EV_REP
changes). So let's just not replay those events.

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
e72b30f4 by Peter Hutterer at 2021-05-18T23:14:44+00:00
tools/record: narrow down the obfuscation range

Let a few obvious modifiers through, including the F-key range. Especially
left control is useful to know if it's down.

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
3dcfae3f by dan g at 2021-05-19T12:59:18+10:00
quirks: add palm rejection support for all Razer Blade models

Generated with a script to scrape the openrazer project for Razer Blade
internal keyboard VIDs, see `razer_quirk_util.py` [1]

This allows us to potentially bulk-add all Razer Blade models to benefit from
palm rejection, rather than processing individual requests and merges.

[1] https://gist.github.com/danryu/ee0c24ac50af40321550462bbf9ab594

Signed-off-by: dan g <dan.gar...@gmail.com>

- - - - -
939a022c by novenary at 2021-05-19T05:12:58+00:00
Improve disambiguation between two-finger pinch and scroll

A pinch is defined as two fingers moving in different directions, and a
scroll as two fingers moving in the same direction.

Often enough when the user is trying to pinch, we may initially see both
fingers moving in the same direction and decide that they want to
scroll.

Add a grace period during which we may transition to a pinch in those
situations.

Test fix: touchpad_trackpoint_buttons_2fg_scroll emits movements that
change the distance between fingers, which triggers this new transition
and makes the test fail; correct this.

Signed-off-by: novenary <streetwalke...@gmail.com>

- - - - -
ca3df8a0 by novenary at 2021-05-19T05:12:58+00:00
Allow reviving a thumb that moves sufficiently

When pinching, the thumb tends to move slower than the finger, so we may
suppress it too early.

Add a grace period during which it may be revived.

Signed-off-by: novenary <streetwalke...@gmail.com>

- - - - -
c4ea48ed by novenary at 2021-05-19T05:12:58+00:00
Increase pinch grace period to 300ms

Windows allows "about a third of a second" to trigger a two-finger
pinch.

https://gitlab.freedesktop.org/libinput/libinput/-/issues/550#implementation-in-other-systems

Signed-off-by: novenary <streetwalke...@gmail.com>

- - - - -
0cb570ad by satrmb at 2021-05-19T12:24:59+02:00
evdev: restart debouncing timers after every event

Signed-off-by: satrmb <10471-sat...@users.noreply.gitlab.freedesktop.org>

- - - - -
cce59210 by weizhixiang at 2021-05-24T04:11:32+00:00
use ARRAY_FOR_EACH when traverse array

Signed-off-by: weizhixiang <weizhixi...@uniontech.com>

- - - - -
1339dbaf by weizhixiang at 2021-05-24T04:42:49+00:00
use more safety list_for_each_safe when remove element in traversing list

Signed-off-by: weizhixiang <weizhixi...@uniontech.com>

- - - - -
624041c0 by José Expósito at 2021-05-24T05:35:27+00:00
test: cleanup: remove fallthrough followed by break

Remove fallthrough comments followed by a break statement.
No functional changes.

Signed-off-by: José Expósito <jose.exposit...@gmail.com>

- - - - -
d09cc9db by Peter Hutterer at 2021-05-25T20:19:36+10:00
doc/user: #wayland is now on oftc

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
873a8839 by Peter Hutterer at 2021-05-25T11:17:45+00:00
gitlab CI: use FDO_CI_CONCURRENT in our meson build script

Always prefix the ninja args with the FDO_CI_CONCURRENT values (i.e. how many
jobs the runner tells us).

Note that this variable is currently not passed through to the qemu jobs, so
inside the VM we'll still use the ninja default values.

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
0432fe59 by Peter Hutterer at 2021-05-26T13:17:59+10:00
libinput 1.17.901

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
a8d450d7 by Neev Parikh at 2021-06-01T11:04:44-04:00
Update 50-system-asus.quirks to include Asus G15 Zephyrus quirk.

Signed-off-by: Neev Parikh <neev.v.par...@gmail.com>

- - - - -
2599b0d8 by Peter Hutterer at 2021-06-02T13:06:37+10:00
libinput 1.18.0

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>

- - - - -
79aa29a1 by Timo Aaltonen at 2021-06-10T11:46:45+03:00
Merge tag '1.17.2' into d-u

1.17.2

- - - - -
7ab02f70 by Timo Aaltonen at 2021-06-10T11:47:02+03:00
Merge branch 'debian-unstable' into d-u

- - - - -
eae05eea by Timo Aaltonen at 2021-06-10T11:48:09+03:00
bump the version

- - - - -
1080ab30 by Timo Aaltonen at 2021-06-10T12:12:25+03:00
release to experimental

- - - - -


12 changed files:

- + .editorconfig
- .gitlab-ci.yml
- .gitlab-ci/ci.template
- .gitlab-ci/config.yml
- .gitlab-ci/meson-build.sh
- .gitlab-ci/meson-junit-report.py
- + .gitlab-ci/scanbuild-plist-to-junit.py
- + .gitlab-ci/scanbuild-wrapper.sh
- COPYING
- README.md
- completion/zsh/_libinput
- debian/changelog


The diff was not included because it is too large.


View it on GitLab: 
https://salsa.debian.org/xorg-team/lib/libinput/-/compare/6eb68cc9aad7cafc756ac56c9c03488c2e15e14a...1080ab306e2787e9f055f5f25e7403b396ca0352

-- 
View it on GitLab: 
https://salsa.debian.org/xorg-team/lib/libinput/-/compare/6eb68cc9aad7cafc756ac56c9c03488c2e15e14a...1080ab306e2787e9f055f5f25e7403b396ca0352
You're receiving this email because of your account on salsa.debian.org.


Reply via email to