summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* libinput 1.15.61.15.61.15-branchPeter Hutterer2020-06-191-1/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Add quirks file for Sony Vaio LaptopJohn Rodriguez2020-06-182-0/+9
| | | | | | The file contains pressure overrides for the VPCEG series. Signed-off-by: John Rodriguez <johrodri@optonline.net> (cherry picked from commit c8e8c8fb4b8cc272889b908d407895419bfe7416)
* quirks: fix Apple external trackpad v2 thresholdsYariv Barkan2020-06-181-0/+20
| | | | | | | | | | The external Apple "Magic" trackpads, both the first and the second generations, have pretty good built-in spurious touch filtering. For these device models libinput's own filtering is not required. Using low enough values such as 20:10 effectively disables libinput's filtering. Signed-off-by: Yariv Barkan <oigevald+libinput@gmail.com> (cherry picked from commit 84b3b1731aab82389887a1d6dece3afee3d84c89)
* gitlab CI: alpine needs pip explicitly installed nowPeter Hutterer2020-06-172-4/+4
| | | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit 75ca6dcfa3bd35219d75922dbf03945d31fcdb86)
* quirks: Add HP stream x360 11 ModelTabletModeNoSuspend keyboard quirkHans de Goede2020-06-171-0/+10
| | | | | | | | | | | | | | | | | The HP stream x360 11's embedded-controller filters out events form its builtin keyboard when in tablet-mode itself; and it has a capacitive home-button (windows logo) underneath its display which also sends PS/2 key-events. Suspending the keyboard while in tablet-mode also disable the capacitive home button, which is undesirable. Add a ModelTabletModeNoSuspend quirk so that the home button keeps working when in tablet-mode. This can safely be done since the rest of the keyboard gets disabled by the embedded-controller for us. Signed-off-by: Hans de Goede <hdegoede@redhat.com> (cherry picked from commit 36181294968c919e3dfcccd161f322f181535d03)
* quirks: mark the 0x233 razer keyboard as internalPeter Hutterer2020-06-171-0/+7
| | | | | | | | | Razer Blade 2018 has a different model ID than the one we already have. Fixes #489 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit 152837f44a5863c68000d13ec89dc51631acc5d4)
* Lenovo X201 Tablet: Added bezel buttons support in tablet modeTroels Blicher Petersen2020-06-171-0/+5
| | | | | | | | | | This patch allows the bezel buttons, to work when entering SW_TABLET_MODE similar to how other x2xx tablets are working. Signed-off-by: Troels Blicher Petersen <troels@newtec.dk> (cherry picked from commit 50ee371c593b0565486c52f645b45bc8354e7aff)
* quirks: correctly print boolean valuesLoïc Yhuel2020-06-171-1/+3
| | | | | | | | | | | When a boolean quirk is set to "0", it is correctly disabled, but "libinput quirks list" and "libinput record" showed it as "1". This happens for example if ModelXXXX=0 is set in /etc/libinput/local-overrides.quirks, to override a default quirk. Signed-off-by: Loïc Yhuel <loic.yhuel@softathome.com> (cherry picked from commit dd0370f73c8d8ab65d0271c11cf1b7305fe4c41e)
* tablet: use the AttrPressureRange quirk for tablets tooPeter Hutterer2020-06-172-19/+51
| | | | | | | | | | | | | | | | The Aiptek 8000U has a pressure offset above our default (%5) but no meaningful way of detecting that. It doesn't provide distance or BTN_TOOL_PEN either, so our heuristics can't hook onto anything. BTN_TOUCH is set by this tablet but not at consistent pressure thresholds. Work around this by shipping a quirk that ups it to 70. Aiptek re-uses USB IDs because of course they do, so this applies to more than one device. Let's see what breaks. Fixes #462 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit 72af32c89e1dd03301c1b28d35afb4c513b4ed82)
* add trust mouse quirk #455Martin Cihlář2020-06-172-0/+7
| | | | | Signed-off-by: Martin Cihlář <martin.cibule@seznam.cz> (cherry picked from commit 4d42e9b9e2486768cc18aa90ce3e3ff964b7a58c)
* libinput 1.15.51.15.5Peter Hutterer2020-04-111-1/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* doc/api: remove invalid doxygen optionPeter Hutterer2020-04-111-1/+0
| | | | | | | | | | | | | | doxygen 1.8.17 shows this error: error: Illegal format for option FILTER_PATTERNS, no equal sign ('=') specified for item '*.h' error: Illegal format for option FILTER_PATTERNS, no equal sign ('=') specified for item '*.dox' This was added in deadbf35c41 but I cannot figure out how this ever had any effect based on the documentation for it. So let's drop it, I don't think it has any effect anyway. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit 33c98fed544d57c9123483722b9b871b231c95f2)
* udev: don't use IMPORT+=Peter Hutterer2020-04-113-4/+4
| | | | | | | | | | | | | | | | | IMPORT really only supports == and != and for a short while udevd warned about this before that warning was reverted again. Where anything else is used, it falls back to ==. systemd upstream rules all use a single = though, so let's stick with that to be consistent, even if it is technically wrong (udevd will warn about this in debug mode). See the long discussion in systemd upstream for details: https://github.com/systemd/systemd/issues/14062 Fixes #461 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit 281ecf10d1c9a169fcd7b23a94751172f7255678)
* doc: update the jumping cursor docsPeter Hutterer2020-04-111-6/+11
| | | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit 150f5dc8016fbcaf1db202eefc1cf72892b312dc)
* touchpad: ratelimit the touch jump testsPeter Hutterer2020-04-113-4/+15
| | | | | | | | | | In most cases these days touch jumps aren't actually fixable, they don't have any good heuristics we can employ to remove them. And, luckily, in most cases it doesn't matter because the users only notice the issue because of the error message. To avoid spamming the user's log, let's ratelimit it. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit d6eef77dd240f5514c1a5b1d08ad268d3b86c64d)
* tools: record: drop quotes from os-release informationPeter Hutterer2020-04-113-2/+67
| | | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit d80bbcb028910cc6c10acab04a2ee3e53fae7b16)
* libinput 1.15.41.15.4Peter Hutterer2020-03-181-1/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* tools: record: fix dmi recordingPeter Hutterer2020-03-181-21/+25
| | | | | | | | | | | | | Processing os-release in the same buffer that the dmi modalias used caused the dmi to be recorded as 'dmi: "VERSION_ID=31"'. The cause for that was simply that the dmi modalias was read but not printed until after the os-release information was processed. Fix this two-fold: rearrange that each part now reads and prints in one go, and rename the buffers so we don't re-use them. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit 850925910f7f6db16f0aa645892d9121760de7b2)
* libinput 1.15.31.15.3Peter Hutterer2020-03-061-1/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* touchpad: only reduce the slot count for ALPS serial touchpadsPeter Hutterer2020-03-053-2/+7
| | | | | | | | | | | | | | | We're getting too many regressions on other devices for this feature and only ALPS touchpads need it (it's a kernel driver bug). So let's limit this to those devices only. For example, synaptics serial touchpads don't keep the fake fingers and slot states in sync when going from two to three fingers, causing an erroneous slot downgrade. See https://gitlab.freedesktop.org/libinput/libinput/issues/434#note_419912 That interferes with this code but fixing it is hard and anyway, synaptics touchpads don't need the slot count drop. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* quirks: rename the alps touchpad quirk to note it's a serial TP quirkPeter Hutterer2020-03-056-7/+7
| | | | | | | This quirk only applies to serial ALPS touchpads, so let's name it accordingly. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* touchpad: add a note to the synaptics touch restore featurePeter Hutterer2020-03-051-5/+8
| | | | | | | | | | | | | | We have code in place to handle the quirky transition from two to three fingers (where one slot ends and another one starts). We do not handle the same issue when transitioning from three to two fingers. This is a note only because it hasn't mattered so far, at least until eb6ef9fe70635e7c91e from #408. And it doesn't matter anymore now either because that code is now only called for ALPS devices. https://gitlab.freedesktop.org/libinput/libinput/issues/434#note_419912 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* test: fix a coverity complaintPeter Hutterer2020-03-021-0/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: drop the distribution "flavor" in favor of using the namePeter Hutterer2020-02-262-25/+25
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: split the task to run on a VM out from the host systemPeter Hutterer2020-02-262-6/+18
| | | | | | No functional changes here, it just makes the actual task more generic Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: drop the distro name from the VM jobsPeter Hutterer2020-02-262-35/+35
| | | | | | | | This changes rarely and it doesn't carry a lot of information anyway, at least compared to the jobs that are specifically designed to build on various distributions. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: update to latest ci-templatesPeter Hutterer2020-02-243-20/+19
| | | | | | | Removes the special distro "flavor" handling for arch and it gives us nicer warnings for VM failures. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: run the kvm test suite without libwacomPeter Hutterer2020-02-242-0/+42
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* test: disable a bunch of tests relying on libwacomPeter Hutterer2020-02-242-0/+15
| | | | | | | | | Some of these may have a non-libwacom solution but let's be honest, you shouldn't be skipping libwacom if you rely on tablets to be precise. Fixes #436 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: pass the MESON_ARGS through to the VM as wellPeter Hutterer2020-02-242-0/+2
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: mark the template file as yaml file for vimPeter Hutterer2020-02-242-2/+2
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: don't run meson test on the scan-build jobPeter Hutterer2020-02-242-0/+2
| | | | | | | | | | | Unfortunate side-effect of this: scan-build would store the logs in the build dir, only for them to be immediately wiped by meson test. And that never generated the scan-build warnings. So this job was complaining about (minor) issues for a while, they just never made it to the GUI as CI failures. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* tools: constify the optarg handling of seatsPeter Hutterer2020-02-246-16/+12
| | | | | | | | This shuts up scan-build complaining about memory leaks in libinput debug-events (needs the right combination of --device option and eventually triggering usage()) and saves us a bunch of unnecessary allocations. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* test: remove double-assignment to a variablePeter Hutterer2020-02-241-2/+0
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: don't push to wayland web on scheduled jobsPeter Hutterer2020-02-242-0/+6
| | | | | | | | | We have a set of scheduled jobs to rebuild images and clean out old containers, but since they're largely unsupervised (i.e. not in response to a MR) we don't want to update the official documentation - just in case something goes wrong. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* tools: replay: mkdir /etc/libinput if it doesn't exist yetPeter Hutterer2020-02-241-0/+1
| | | | | | | | | | Where we're replaying a device with quirks, those quirks will be placed into /etc/libinput/local-overrides.quirks. For that to work, /etc/libinput needs to exist so let's make it where required. https://bugzilla.redhat.com/show_bug.cgi?id=1806322 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* tools: record: fix fallback os-release file handlingPeter Hutterer2020-02-211-1/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: rename the custom build jobsPeter Hutterer2020-02-202-82/+32
| | | | | | | | | The distro we're running on is a side-effect, it's more important to see the bit that describes what the job actually does. And while we're there, shuffle the hierarchy a bit for less duplication. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: use a separate variable for the template listPeter Hutterer2020-02-202-4/+7
| | | | | | | Just because I feel more comfortable with having this code in python than in the templates. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: don't hard-code the arch/alpine versionsPeter Hutterer2020-02-202-4/+4
| | | | | | | | We only have one each and they're not really versions anyway but now that it is all generated through templates, let's be consistent with the rest of the CI script. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: generate the various default-builds through templatingPeter Hutterer2020-02-203-117/+72
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: generate the VM tests through the templates as wellPeter Hutterer2020-02-203-72/+23
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: generate the CI script from a templatePeter Hutterer2020-02-203-12/+847
| | | | | | | All the distro-specific stuff is the same template anyway, so let's generate this (like we already do in libevdev and the ci-templates). Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: add a comment to explain one of the jobsPeter Hutterer2020-02-201-0/+3
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: whitespace fixes for better visual alignmentsPeter Hutterer2020-02-201-12/+12
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* libinput 1.15.21.15.2Peter Hutterer2020-02-201-1/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* tools: record: record basic os-release information as wellPeter Hutterer2020-02-192-1/+29
| | | | | | | | | Because sometimes it's useful to know what distro a recording was made on, and the kernel version doesn't always reveal that. Fixes #428 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* tools: record: rename a variable to just bufPeter Hutterer2020-02-191-5/+5
| | | | | | Better name for re-use Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: handling killing the qemu process betterPeter Hutterer2020-02-191-6/+1
| | | | | | | | | | | If qemu has already shut down by the time we call kill, pgrep returns nothing and we fail the script. Let's not do that. And let's replace kill pgrep with just pkill in the process. Let's get rid of the after_script part too, gitlab kills any process started in the main script anyway. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* gitlab CI: print a warning when our VM startup failsPeter Hutterer2020-02-191-1/+1
| | | | | | | This happens on packet-3 and packet-4 atm, so let's print out a clear warning that whatever the failure is, it's not directly related to libinput. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>