summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* libinput 1.23.01.23.0José Expósito2023-03-251-1/+1
| | | | Signed-off-by: José Expósito <jose.exposito89@gmail.com>
* quirks: add a bunch more Razer internal keyboardsPeter Hutterer2023-03-241-0/+76
| | | | | | | Generated with the same script as the list from commit 3dcfae3fb699bc72c34099f5a567a61e075971b5. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* test: add a test to make sure we don't accidentally add Logitech receiversPeter Hutterer2023-03-231-0/+36
| | | | | | | IDs copied over from libratbag which has that same check, with C548 added. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* test: add a quicks file validation testPeter Hutterer2023-03-232-0/+71
| | | | | | | | | Now that we're Python ConfigParser compatible (again), we can check our quirks file for things our actual parser doesn't care about, but that we should honour. Right now that means that bustypes and vid/pid matches are all spelled consistently. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* touchpad: rm dead tp_palm_tap_is_palmTobias Bengfort2023-03-233-33/+0
| | | | | | | | | | | | | | | This was added in 39f11253471500cd380c8977b8cbe0683abe6b1d (https://bugs.freedesktop.org/show_bug.cgi?id=89625) Later, a more sophisticated palm detection was implemented in 46eab97538af18381243f5337bf3d29e4b21098f (https://bugs.freedesktop.org/show_bug.cgi?id=103210) The only place where `tp_palm_tap_is_palm()` is called is if the more sophisticated palm detection has already decided that this is not a palm, so it should never return true. Signed-off-by: Tobias Bengfort <tobias.bengfort@posteo.de>
* test: comment two tap testsPeter Hutterer2023-03-221-0/+6
| | | | | | | | | | | This is confusing without any explanation - the first set of touches is within the edge zone, the second set of touches is explicitly within the software button area but not inside the edge zone. Let's add comments so the intention is clear. Same-ish for the clickfinger test. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* CI: make the ci-fairy commit check verbosePeter Hutterer2023-03-222-2/+2
| | | | | | | This way it prints the commit range which should help debug why it fails when it does. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* test: drop the explicit -n auto to the tool options testPeter Hutterer2023-03-201-1/+1
| | | | | | This script adds the option automatically where xdist is available. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* tools: honor FDO_CI_CONCURRENT in the tools option parserPeter Hutterer2023-03-201-1/+2
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* quirks: change all 3-digit matches to zero-prefixed 4-digit matchesPeter Hutterer2023-03-204-23/+23
| | | | | | Time to get some standardization here! Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* quirks: fix duplicate section namesPeter Hutterer2023-03-203-13/+13
| | | | | | | Our parser doesn't care about this, but let's stick to the proper format so we can read those files with e.g. Python's ConfigParser Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* quirks: add a note to not quirk the Bolt ReceiverJosé Expósito2023-03-201-0/+5
| | | | | | | | | | | | | | | The Logitech Bolt Receiver can be used with multiple mice, but the kernel exposes the same product ID for all of them. Adding a quirk for the device trying to fix a specific mouse would break other mice. Since we avoided this problem during code review a couple of times [1] [2] add a warning to avoid it in the future. [1] https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/867#note_1759931 [2] https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/847#note_1725364 Signed-off-by: José Expósito <jose.exposito89@gmail.com>
* doc/user: fix tap in palm exclusion zoneTobias Bengfort2023-03-172-38/+4
| | | | | | | See 211bed2c25e4282820e5155191d4dc09201f1210 and 79139ebcd1cc81eecdd2d0dc6f006fbec4c2c6f2 Signed-off-by: Tobias Bengfort <tobias.bengfort@posteo.de>
* test: give the generic MT touchscreen realistic rangesPeter Hutterer2023-03-171-4/+4
| | | | | | | | This way we can rely on physical coords on this screen being actually meaningful. Not currently in use but future tests will use this touch device as generic screen. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* CI: add new workflow rulesPeter Hutterer2023-03-152-0/+10
| | | | | | | Required for pipelines to run after some infrastructure changes, see https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/438 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* CI: update to latest ci-templatesPeter Hutterer2023-03-152-3/+2
| | | | | | | The commit fixes linebreaks at the end of the files for files generated with ci-fairy generate-templates. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* filter: add scroll movement type to the custom acceleration profileYinon Burgansky2023-02-2425-45/+177
| | | | | | | | Adds a dedicated scroll movement type to the custom acceleration profile. Supported by physical mouse and touchpad. Other profiles remain the same by using the same unaccelerated filter for the scroll filter. Signed-off-by: Yinon Burgansky <51504-Yinon@users.noreply.gitlab.freedesktop.org>
* quirks: fix DWT on Legion 5iJosé Expósito2023-02-131-0/+5
| | | | | | | | | | The keyboard present on this device is not recognized as internal and disable while typing does not work. Add a quirk to fix this feature. Fix https://gitlab.freedesktop.org/libinput/libinput/-/issues/848 Signed-off-by: José Expósito <jose.exposito89@gmail.com>
* gitlab CI: explicitly run the test in the systemd servicePeter Hutterer2023-02-131-1/+1
| | | | | | | | This shouldn't have functional changes because MESON_TEST_ARGS was set for all our b2c/qemu tests and thus the tests would run automatically. To make this script more generic, specify --run-test explicitly. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: remove a leftover use of a fedora imagePeter Hutterer2023-02-132-2/+0
| | | | | | This is overridden by the template users anyway Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: drop comment about weekly rebuild of imagesPeter Hutterer2023-02-132-8/+0
| | | | | | This was disabled many moons ago, pre the b2c work. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* CI: bump to use Fedora 37Peter Hutterer2023-02-132-49/+49
| | | | | | | This was delayed by https://github.com/systemd/systemd/pull/25941 which is now available in F37 as of v251.11 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* add quirks for Logitech MX Master 3BAksel Stokseth2023-02-091-0/+5
| | | | Signed-off-by: Aksel Stokseth aksel.stokseth@gmail.com
* CI: bump b2c and kernelBenjamin Tissoires2023-02-082-5/+5
| | | | | | | Same than https://gitlab.freedesktop.org/libevdev/libevdev/-/merge_requests/106 We need to upgrade to a newer boot2container Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
* filter: simplify speed_factor()Tobias Bengfort2023-02-081-12/+2
| | | | | | The `speed_factor()` formula is unnecessarily complex, The behavior that is described in the comment can be achieved with a simple power function. And adjust the comment to explicitly state that 0.05 is the minimum.
* quirks: Dell Mayabay (Pressure Pad).Marge Yang2023-02-081-0/+6
| | | | Signed-off-by: Marge Yang <marge.yang@synaptics.corp-partner.google.com>
* evdev: apply calibration for touch arbitrationhrdl2023-02-081-3/+10
| | | | | | | Rectangle-based touch arbitration should respect calibration. This fixes #853. Signed-off-by: hrdl <git@hrdl.eu>
* evdev-tablet: clip touch arbitration rectanglehrdl2023-02-071-3/+3
| | | | | | | Previously the arbitration rectangle would be moved to lie completely in the first quadrant of the coordinate system. Signed-off-by: hrdl <51402-hrdl@users.noreply.gitlab.freedesktop.org>
* quirk: Google Chromebook Atlas (Pixelbook go)gogogoghost2023-02-061-0/+7
| | | | Signed-off-by: Jax Leach <heiguiyj@gmail.com>
* tools: add --replay-after and --once to libinput replayPeter Hutterer2023-02-062-1/+26
| | | | | | | For the cases where it's not possible to hit enter to start the replay because e.g. we cannot change focus, etc. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* quirks: add generic quirk for Dell 2-in-1 models for side volume buttonsBill A2023-02-061-2/+2
| | | | Signed-off-by: Bill A's avatarBill A <vukk.euob@gmail.com>
* filter: validate custom acceleration function's points sizeYinon Burgansky2023-02-024-13/+47
| | | | | | | Adds min and max size limit for custom acceleration function's points. Adds tests to make sure validation works properly. Signed-off-by: Yinon Burgansky <51504-Yinon@users.noreply.gitlab.freedesktop.org>
* quirk: Lenovo P14s Gen 1 AMD TrackpointDiep Pham2023-01-281-0/+6
|
* doc/user: fix trackpoint quirks pathJosé Expósito2023-01-231-1/+1
| | | | | | | Fix a small typo in the file name. Fix https://gitlab.freedesktop.org/libinput/libinput/-/issues/851 Signed-off-by: José Expósito <jose.exposito89@gmail.com>
* fix: add apple m2 keyboard quirksCyril LEVIS2023-01-231-0/+6
| | | | | | this fix dwt https://github.com/AsahiLinux/linux/issues/103 Signed-off-by: Cyril Levis <git@levis.name>
* Improve X280 supportRichard Stefun2023-01-231-0/+10
| | | | Signed-off-by: Richard Stefun <richard.stefun@icloud.com>
* quicks: invert horizontal scrolling for Logitech MX Master 3SZhangyuan Nie2023-01-171-0/+5
| | | | Signed-off-by: Zhangyuan Nie <yuan@znie.org>
* doc/user: fix sphinx warningPeter Hutterer2023-01-171-1/+1
| | | | | | | | | WARNING: extlinks: Sphinx-6.0 will require a caption string to contain exactly one '%s' and all other '%' need to be escaped as '%%'. Well, let's do that then! Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Introduce custom acceleration profileYinon Burgansky2023-01-1721-16/+1183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The custom acceleration profile allow the user to define custom acceleration functions for each movement type per device, giving full control over accelerations behavior at different speeds. This commit introduces 2 movement types which corresponds to the 2 profiles currently in use by libinput. regular filter is Motion type. constant filter is Fallback type. This allows possible expansion of new movement types for the different devices. The custom pointer acceleration profile gives the user full control over the acceleration behavior at different speeds. The user needs to provide a custom acceleration function f(x) where the x-axis is the device speed and the y-axis is the pointer speed. The user should take into account the native device dpi and screen dpi in order to achieve the desired behavior/feel of the acceleration. The custom acceleration function is defined using n points which are spaced uniformly along the x-axis, starting from 0 and continuing in constant steps. There by the points defining the custom function are: (0 * step, f[0]), (1 * step, f[1]), ..., ((n-1) * step, f[n-1]) where f is a list of n unitless values defining the acceleration factor for each velocity. When a velocity value does not lie exactly on those points, a linear interpolation of the two closest points will be calculated. When a velocity value is greater than the max point defined, a linear extrapolation of the two biggest points will be calculated. Signed-off-by: Yinon Burgansky <51504-Yinon@users.noreply.gitlab.freedesktop.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* doc/api: set HAVE_DOT to YESPeter Hutterer2023-01-171-0/+1
| | | | | | | | dot is required in meson.build, so we can hardcoded it here Fixes: libinput/build/doc/api/libinput.h:4087: warning: ignoring \dot command because HAVE_DOT is not set Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* filter: add helper functions to create/destroy a delta smoothenerPeter Hutterer2023-01-174-13/+19
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* quirks: touchpad: add ModelPressurePadJosé Expósito2023-01-166-4/+11
| | | | | | | | | | | | | Unlike in traditional touchpads, whose pressure value equals contact size, on pressure pads pressure is a real physical axis. We don't take advantage of the pressure information reported by pressure pads yet, so we disable it to avoid errors. Add a new model quirk for pressure pads instead of disabling ABS_MT_PRESSURE and ABS_PRESSURE. Signed-off-by: José Expósito <jose.exposito89@gmail.com>
* tools: fflush the output in debug-events after each set of eventsPeter Hutterer2023-01-131-0/+3
| | | | | | | | | | | Fixes e.g. the case where debug-events is used to get the initial device list but no more. Since we never flush, the content is stuck in the buffers and gets lost. Easy way to reproduce: `libinput debug-events | cat`, then ctrl+c and see nothing show up (before this patch, anyway). Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* quirks: add quirks for Dell Precision5680 TouchpadCharles Wang2023-01-121-0/+8
| | | | | | | | | This touchpad is a pressure pad and needs the pressure handling disable. Fixes https://gitlab.freedesktop.org/libinput/libinput/-/issues/849 Signed-off-by: Charles Wang <charles.goodix@gmail.com>
* CI: use meson compile over ninja directly in meson-build.shPeter Hutterer2023-01-061-2/+6
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* CI: make the meson-build.sh script even more genericPeter Hutterer2023-01-061-1/+2
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* CI: give the meson-build.sh script a proper license tagPeter Hutterer2023-01-061-0/+2
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* meson.build: fix a deprecation warningPeter Hutterer2023-01-061-2/+11
| | | | | | get_pkgconfig_variable is deprecated Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* quirks: add quirk for Dell Latitude 5290 2-in-1José Expósito2023-01-011-0/+5
| | | | | Fixes https://gitlab.freedesktop.org/libinput/libinput/-/issues/846 Signed-off-by: José Expósito <jose.exposito89@gmail.com>
* quirks: add quirks for Glorious Model O mouseSamuel Reddy2022-12-231-0/+6
| | | | Signed-off-by: Samuel Reddy <samuelsumukhreddy@gmail.com>