- May 20, 2020
-
-
Peter Hutterer authored
To make it easier on callers, deprecate the POINTER_AXIS event and replace it with three typed axis events that represent the various scroll sources. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
- May 18, 2020
-
-
Peter Hutterer authored
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
Starting with kernel v5.0 two new axes are available for high-resolution wheel scrolling: REL_WHEEL_HI_RES and REL_HWHEEL_HI_RES. Both axes send data in fractions of 120 where each multiple of 120 amounts to one logical scroll event. Fractions of 120 indicate a wheel movement less than one detent. This commit adds a new API for pointer axis events. A new event type and a new API to get a normalized-to-120 value also used by Windows and the kernel, each multiple of 120 represents a logical scroll click. This addresses a main shortcoming with the existing API - it was unreliable to calculate the click angle based on the axis value+discrete events and thus any caller using the axis value alone would be left with some ambiguity. With the v120 API it's now possible to (usually) calculate the click angle, but more importantly it provides the simplest hw-independent way of scrolling by a click or a fraction of a click. A new event type is required, the only way to integrate the v120 value otherwise was to start sending events with a discrete value of 0. This would break existing xf86-input-libinput (divide by zero, fixed in 0.28.2) and weston (general confusion). mutter, kwin are unaffected. Notable: REL_WHEEL/REL_HWHEEL are emulated by the kernel but there's no guarantee that they'll come every accumulated 120 values, e.g. Logitech mice often send events that don't add up to 120 per detent. We use the kernel's wheel click emulation instead of doing our own. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
This has never been supported through the stack. No device ever had the required MOUSE_WHEEL_TILT_VERTICAL/HORIZONTAL udev property set, so libinput never set the right axis source. Neither weston nor mutter added the code for it. Even if we added wheel tilt for devices now, it would break those devices. And the benefit we get from having those separate is miniscule at best. So let's do the long-term thing and just deprecate this axis source. The wheel tilt mouse test device remains in the test suite, with the udev properties set just to verify that we do indeed ignore those now. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
- May 13, 2020
-
-
Peter Hutterer authored
Take a snapshot of the time every 10 libinput_dispatch() calls. During event processing, check if the event timestamp is more than 10ms in the past and warn if it is. This should provide a warning to users when the compositor is too slow to processes events but events aren't coming in fast enough to trigger SYN_DROPPED. Because we check the device event time against the dispatch time we may get warnings for multiple devices on delayed processing. This is intended, it's good to know which devices were affected. In the test suite we need to ignore the warning though, since we compose the events in very specific ways it's common to exceed that threshold (particularly when calling litest_touch_move_to). Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
This was changed in 5e25bdfb but the litest message lookup wasn't changed. Let's do that now and change to a generic wording we can re-use for other messages. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
- May 12, 2020
-
-
Peter Hutterer authored
The previous text wasn't accurate enough, USB used to be considered external but we've since started deferring to the hwdb for those (except Apple). Fixes #483 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
- May 08, 2020
-
-
Troels Blicher Petersen authored
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>
-
- Apr 19, 2020
-
-
Peter Hutterer authored
one second isn't always enough here. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
Where libinput is installed, checking whether the fuzz is applied to the device will always fail with an error - the udev rules will remove the fuzz and copy its value to the LIBINPUT_FUZZ properties instead. So let's fix this: where the fuzz shows up on the device print a warning because libinput's udev rule isn't working. And where it's missing check the udev properties and compare those to the settings instead. Fixes #472 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
For backwards compatibility reasons, the hwdb.bin created udevadm hwdb does not actually apply matches in the way you'd expect. systemd-hwdb creates the newer format and is preferred. Related: #472 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
Fixes #472 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
- Apr 18, 2020
-
-
Peter Hutterer authored
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
- Apr 16, 2020
-
-
Peter Hutterer authored
e.code is the evbit anyway, we don't have to convert it Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
For some reason I'm too tired to investigate, the whitespace in the CI is different than the locally generated one. Alpine must've updated something, I guess. Quickfix it by adjusting the whitespace so it's correct again. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
- Apr 11, 2020
-
-
Peter Hutterer authored
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
If a device never sends ABS_MT_SLOT, our output was emtpy. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
The threshold colors events above a certain value in red, ignore-below skips any line below that threshold. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
The index is unused, but useful during debugging Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
New output example: 9.408899 +5ms DBL: ↑
↗️ 1/ -9 | →→ 0/ 0 | where DBL stands for BTN_DOUBLE. This also widens the relative time by one so we don't lose formatting for >1s delta time. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> -
Peter Hutterer authored
Makes the output easier to understand given that most touchpads have 5+ slots but don't actually use them (or the users don't). Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
- Apr 06, 2020
-
-
Loïc Yhuel authored
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>
-
- Apr 04, 2020
-
-
Peter Hutterer authored
This has been there for years and I never used it. Much better to convert it to a generically useful one (i.e. one that prints red so it's easy to see) and make it unconditional. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
- Mar 31, 2020
-
-
Peter Hutterer authored
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>
-
- Mar 30, 2020
-
-
Peter Hutterer authored
Replacement for the touchpad-edge-detector tool with a slightly more expressive design, hopefully cutting down on some of the bug reports. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
Let's hope this one is more obvious to use for users. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
There is a race between adding the udev monitor and enumerating current devices. Any device added in that window will show up in both lists, causing it to be added twice. Fix this by comparing the syspath of any added device to the existin ones in the seat - where it matches we can ignore the device. Fixes #459 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
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>
-
- Mar 29, 2020
-
-
Peter Hutterer authored
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
- Mar 25, 2020
-
-
Peter Hutterer authored
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
- Mar 23, 2020
-
-
Peter Hutterer authored
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
Where want_qemu is set for a distribution, we generate the qemu tests for that distribution for its last version listed. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
This makes the config file simpler, use a variable that is default false but true where we need it. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
We don't use the [...] style list elsewhere, so let's not do this here either. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
- Mar 22, 2020
-
-
Peter Hutterer authored
They show up like a task list in the issue tracker and that's not useful. Likewise, make the "attach this" more prominent by no longer making it a comment. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Martin Cihlář authored
Signed-off-by: Martin Cihlář <martin.cibule@seznam.cz>
-