summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-02-20test: only expect one button event from the intuos-like testPeter Hutterer1-1/+1
BTN_0 is the only one guaranteed to exist (otherwise we skip the test) so let's ensure we have at least one event - all the others will fail if we don't get the right event sent. This enables the test to run against devices that only have one button. Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/967>
2024-02-19Recognizing Framework 16 keyboard modules as internal keyboardsJosip Medved1-0/+6
2024-02-19doc: fix end-of-file in the state machine SVGPeter Hutterer1-1/+1
Picked up by the pre-commit hook
2024-02-14quirks: tighten the match for the Graviton N15i touchpadPeter Hutterer1-0/+1
Other systems use the same touchpad but without physical buttons (e.g. SpeedMind M-BOOK) and obviously the various systems using the 5288 touchpad, see commit d1f274c7. Let's tighten this quirk to just the Graviton only. Closes #970 Fixes 8163b552be23ef3f4082775649bb12a3f6162df6 Related !957
2024-02-12Added quirks for TongFang/Uniwill touchpad and ITE keyboardBogdan Mircea2-0/+18
2024-02-06doc: drop permissions to 644 for the gesture state machine SVGPeter Hutterer1-0/+0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2024-02-02quirks: Add Lenovo's Ideapad Gaming 3 white backlit keyboard as an internal ↵Theluga1-0/+8
keyboard
2024-02-02doc/user: note the requirement to apply for gitlab fork permissionsPeter Hutterer1-1/+6
2024-02-02triage-policies: add a bugbot command to close issue in favour of an MRPeter Hutterer1-0/+17
2024-02-01Update 50-system-lenovo.quirks to fix X201t tablet buttonsHooloovoo Blue1-1/+1
2024-01-30tablet: add tablet tool pressure range configurationPeter Hutterer8-39/+750
Add a configuration option to reduce the available hardware range to a fraction thereof. This is done by copying the absinfo struct for the pressure value and adjusting that copy's minimum/maximum value for scaling into the target normalized range. The 1%/5% tip thresholds are kept but pressure offset detection is disabled if there is a custom pressure range. Unlike the pressure curve which is implemented in the compositor, the pressure min/max range needs to be in libinput, primarily because the tip threshold needs to adjust to any new minimum, allowing for light touches with a pen without triggering tip down even at a higher hardware pressure.
2024-01-30tablet: document a known bug about pressure thresholds across tabletsPeter Hutterer1-0/+5
2024-01-30tablet: move tool creation into a helper functionPeter Hutterer1-12/+22
2024-01-30tablet: don't use absinfo_range for the percentage calculationPeter Hutterer1-1/+1
Our percents are inclusive 0% and 100%.
2024-01-30tablet: fix tilt handling for even-ranged tabletsPeter Hutterer2-1/+135
The tablet tilt range may be set as [-N, M] in which case we assume that a value of zero is vertical (and thus should result in a libinput tilt value of zero). Unfortunately some tablets report an even total value range, e.g. [-64, 63] so zero is not actually the mathematical center of the axis. Fix this by bumping the axis maximum so zero becomes the logical center. All devices we've seen so far have [-A, (A-1)] as range so bumping it by one makes it symmetric.
2024-01-30util: add a helper to normalize an axis to [0.0, 1.0]Peter Hutterer4-14/+58
Like the input axis, a normalized range has min/max inclusive so we cannot use the absinfo_range() helper which assumes the max is exclusive. Reverts parts of 4effe6b1b9245c694cd3166db3c4bd1a0ef1c823
2024-01-30Revert "tablet: fix the pressure offset range being off by one"Peter Hutterer1-1/+1
Fixing the range is only required when the output range is not inclusive of the min/max (such as when mapping an abs axis to a screen width). Our pressure range is inclusive 0.0 and 1.0, so we want absinfo->maximum to map to exactly 1.0 This reverts commit a5b6f4009bdcac3ec0359568c40cbb3a6bdf4609.
2024-01-24tablet: handle BTN_STYLUS3Peter Hutterer2-6/+57
And add a test to make sure the tool we know that has three buttons (Pro Pen 3) can send all those. Enough to run that test one one compatible device, no real benefit of running it on all tablet devices.
2024-01-22test: fix a wrong value for the auto-assigned BTN_TOOLPeter Hutterer1-1/+1
This was actually passed through: litest debug event19 - 0.000 EV_KEY BTN_TOOL_PEN -2147483648
2024-01-22test: set pressure to zero on proxout for the tablets with forced prox outPeter Hutterer3-0/+20
If a test goes past the tip-down threshold, the proximity timeout does not trigger. And one can spend a long time trying to debug why the test fails... As far as I vaguely remember, these devices' pressure values are correct enough, it's just the lack of BTN_TOOL_PEN that is the issue so instead of a proper proximity out, we just send enough data to set the pressure to below the tip threshold.
2024-01-22test: debug print the events we're drainingPeter Hutterer1-0/+5
2024-01-16Add a helper for radians to degreesPeter Hutterer3-3/+9
2024-01-15libinput 1.25.01.25.0José Expósito1-1/+1
Signed-off-by: José Expósito <jose.exposito89@gmail.com>
2024-01-03evdev: default tablets to allow for rotationPeter Hutterer3-3/+14
If libwacom is disabled or there is no .tablet file in libwacom for this device yet, default to enabling a left-handed setting. Otherwise the tablet may not be usable. See https://github.com/linuxwacom/libwacom/issues/616
2024-01-03triage-policies: emphasize that recordings must be attachedPeter Hutterer1-2/+2
2023-12-24Add Lenovo ThinkPad E14 QuirkAiden1-0/+7
2023-12-19fallback: add messages for touch arbitration debuggingPeter Hutterer1-1/+17
2023-12-19triage-policies: add bugbot labels for requesting hid-recorder outputPeter Hutterer1-0/+24
And libinput record too while we're at it.
2023-11-29quirks: touchpad quirk for Graviton N15i-K2Airat Makhmutov1-0/+6
The generic quirk introduced in commit d1f274c7 ("quirks: add a more generic match for the 5288 Synaptics clickpad") affects the touchpad (with physical buttons) present in the Graviton N15i-K2.
2023-11-23gitlab: make the bug template the default templatePeter Hutterer1-0/+0
This way users who don't know gitlab much but are most likely reporting a bug get to use this template and anyone else can remove the boilerplate and be more free-form and/or prosaic.
2023-11-17quirks: rename 50-framework.quirksJosé Expósito1-0/+0
Follow the same naming used by other quirks. Signed-off-by: José Expósito <jose.exposito89@gmail.com>
2023-11-16quirks: disable button debouncing for the QEMU/KVM mouse integrationJosé Expósito1-0/+3
When using a touchpad to double click on a QEMU/KVM virtual machine, fast double taps are filtered by our debouncing code. Since these are emulated devices 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. The same device name and broken behavior was found in GNOME Boxes and Virtual Machine Manager. Signed-off-by: José Expósito <jose.exposito89@gmail.com>
2023-11-16CI: bump vm2c and kernel for VMsBenjamin Tissoires3-7/+5
Actually libinput is one of the last users of harbor.fd.o, because it uses an outdated version of vm2c.py. Use the new location of the project, bump its release, and also bump the kernel version we test while at it. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
2023-11-16quirks: don't disable the keyboard on the Dell Latitude 7275Peter Hutterer1-0/+5
Fixes #950
2023-11-16quirks: disable button debouncing for the VirtualBox mouse integrationPeter Hutterer1-0/+3
Fixes #158
2023-11-09Add quirk for Lenovo LOQ 15IRH8Miroslav Jarý1-0/+7
2023-11-07doc/user: add FAQ about scroll speedJosé Expósito1-0/+17
This question showed up in my email and it has been asked in the issue tracker a few times. Explaining why libinput is not the right place to implement it for future reference. Signed-off-by: José Expósito <jose.exposito89@gmail.com>
2023-10-16Number the fingers by slot in debug-guiCzcibor Bohusz-Dobosz1-1/+13
2023-10-12quirks: disable Chromebook Redrix AttrPalmPressureThresholdRajas Paranjpe1-0/+1
This device doesn't need libinput's palm detection, see https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/939
2023-10-09quirks: add quirks for RazerBlade162023 and RazerBlade182023Peter Hutterer1-0/+14
Autogenerated from our razer-quirks-lister.py tool
2023-10-09touchpad: allow a palm pressure threshold of 0 to disablePeter Hutterer6-9/+160
Where a more generic match assigns a palm threshold to a device, allow unsetting this by assigning a threshold of zero. And remove the bug log for palm size threshold of 0 for the same reason.
2023-10-09test: group the test devices and sort themPeter Hutterer1-79/+90
Group the LITEST_FOO enum into sections for touchpads, mice, etc. This makes it easier to find whether a particular device may have a representation already.
2023-10-07removed thinkpad 13 gen 2 trackpoint pre-multiply quirklilly-lizard1-6/+0
Signed-off-by: Lilly Lizard <bigbanana29@aol.com>
2023-10-05zsh: fix completionPeter Hutterer1-1/+1
Was missing a backslash Fixes #941
2023-09-28doc/user: update the udev rule to handle bind/unbind events (part 2)Peter Hutterer1-2/+2
Summary: we expect add, change or remove but kernel 4.12 added bind and unbind. These events were previously discarded by udevd. Our rules should handle any event *but* remove, so update as suggested in the announce email linked below. For a longer explanation, see the system 247rc2 announcement https://lists.freedesktop.org/archives/systemd-devel/2020-November/045570.html See cd37dcfa66d59ecbdf787ee1aa34bb65f2a38b6d where we did this already for the udev rules we use ourselves and a88d107c0d0c0c8a4bb6359f0ffd5b3b3516b099 for the patch where we already updated parts of the docs. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2023-09-25quirks: match 'ITE Device(8910)' keyboard by USB VID/PIDVadim Yanitskiy1-6/+9
This allows the "Disable while typing" feature to work properly for: 048d:c102 Integrated Technology Express, Inc. ITE Device(8910) This keyboard was found in the following Lenovo laptops: * Legion 5 Pro 16ARH7H * Legion 5 15ARH7H The quirk for 16ARH7H was added in 94c785a2 (see #933), however matching by DMI does not work for 15ARH7H, so let's match by USB VID/PID instead. https://gitlab.freedesktop.org/libinput/libinput/-/issues/933#note_2099049
2023-09-25quirks: add a quirk for the HUAWEI MateBook X Pro 2022 touchpadJosé Expósito1-0/+6
Clickpad that announces BTN_RIGHT. Fixes https://gitlab.freedesktop.org/libinput/libinput/-/issues/939 Signed-off-by: José Expósito <jose.exposito89@gmail.com>
2023-09-05quirks: add RollerMouse Pro3 double-click fixElliot Gawthrop1-0/+6
2023-09-05quirks: Adds Lenovo Legion 5 Pro 16ARH7H keyboard quirkBranko Grubić1-0/+6
Fix allows touchpad Disable while typing feature to work properly. Fixes: #933 Signed-off-by: Branko Grubić <bitlord0xff@gmail.com>
2023-09-03quirks: Add quirk for Google Chromebook DrobitWeirdTreeThing1-0/+7
This device has a touchpad with uncommon pressure sensitivity which makes it hard to use out of the box. Signed-off-by: Brady Norander <bradyn127@protonmail.com>