- Feb 20, 2020
-
-
Peter Hutterer authored
Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- Feb 19, 2020
-
-
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>
-
Better name for re-use Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
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>
-
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>
-
- Feb 18, 2020
-
-
Peter Hutterer authored
Where fingers are down during startup we need to sync them to the known state of the device so our slot count is correct. Otherwise, when the fingers are lifted we will trigger the new assert for nactive_slots being less than 0. Regression introduced in eb6ef9fe Fixes #429 Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
Where a user releases all touches during a SYN_DROPPED and then puts more than one finger back down before we sync, we end up with nonzero fake touches but a zero slot count. This is caused by a wrong event sequences provided by libevdev in that case. This really needs to be fixed in libevdev, see libevdev/libevdev!19 In the meantime, put a check in to ignore that case and never reduce the slot count to 0. It still leaves us open for some issues where 3fg gestures may stop working if the right sequences are triggered during SYN_DROPPED but updating libevdev will eventually make that go away too. Fixes #422 Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- Feb 15, 2020
-
-
Victoria Brekenfeld authored
Signed-off-by:
Victor Brekenfeld <github@drakulix.de>
-
- Feb 13, 2020
-
-
Peter Hutterer authored
While buttons are down, don't let a forced proximity out happen. If the tablet goes out of proximity normally that's fine but we don't force a proximity out. Remains to be seen if this causes stuck buttons now on devices that rely on the forced proximity out... Fixes #403 Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
We know we should have an event here, so we might as well process it immediately to speed the error case up. 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
Because certain things are hard to test when you have to guess whether a tablet has forced proximity out or not. Currently unused, see future patches. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- Feb 12, 2020
-
-
Peter Hutterer authored
Problem: it's still not a 100% check because the way real udev handles the EVDEV_ABS overrides ignores any that are set through udev properties only. So we manually have to trigger the keyboard builtin for our test device which can give us false positives (e.g. it wouldn't have detected #424). But still, it'll alert us if the actual overridden values are different to what we expect. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
This was more useful when we installed multiple device rules but now it's only one file anyway. Also, this drops the inadvertant double-dash (e.g. 99-litest--Jo7Ji8.rules) which made the file name look like some substitution was missing. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
No need for the indirection of PROGRAM, then ENV for the output value. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
For historical reasons, the keyboard builtin that sets the EVDEV_ABS values is added as RUN. When we add our own fuzz-to-zero tool we must use +=, just using an equals overwrites the existing RUN list. The same is true for the IMPORT command we use to extract the fuzz to begin with. Fixes #424 Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- Feb 07, 2020
-
-
Peter Hutterer authored
Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- Feb 03, 2020
-
-
Peter Hutterer authored
Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- Feb 02, 2020
-
-
Peter Hutterer authored
Where a pen was forced out of proximity and an eraser came into proximity without axis updates on the prox-in, subsequent axis updates would trigger the pen back into proximity. This resulted in two tools in proximity at once though the new pen never went out of proximity This would trigger crashes in various compositors/applications, see https://github.com/xournalpp/xournalpp/issues/1141#issuecomment-578362497 The cause was a wrong condition introduced in ffd8c71e. We only need to force the pen bit on if the current tool state is currently zero and no tool update was sent with the axis event. In our case, the tool state is nonzero already (eraser) and we can skip this bit. Fixes #418 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
Just so I don't have to look up the git history next time Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- Jan 31, 2020
-
-
Peter Hutterer authored
It's useful to have this in the immediate recording. Example output now: - evdev: - [ 2, 300309, 3, 47, 0] # EV_ABS / ABS_MT_SLOT 0 - [ 2, 300309, 3, 54, 3547] # EV_ABS / ABS_MT_POSITION_Y 3547 (+8) - [ 2, 300309, 3, 58, 70] # EV_ABS / ABS_MT_PRESSURE 70 (-14) - [ 2, 300309, 3, 47, 1] # EV_ABS / ABS_MT_SLOT 1 - [ 2, 300309, 3, 54, 3112] # EV_ABS / ABS_MT_POSITION_Y 3112 (+4) - [ 2, 300309, 3, 58, 68] # EV_ABS / ABS_MT_PRESSURE 68 (-4) - [ 2, 300309, 3, 1, 3547] # EV_ABS / ABS_Y 3547 (+8) - [ 2, 300309, 3, 24, 70] # EV_ABS / ABS_PRESSURE 70 (-14) - [ 2, 300309, 0, 0, 0] # ------------ SYN_REPORT (0) ---------- +49ms 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
Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- Jan 30, 2020
-
-
Peter Hutterer authored
event->time ended up being an uninitialized field. Introduced in 5dc1a7eb, the event here isn't a struct input event but rather our internal event struct. Fix this and reshuffle the time handling a bit so it's a bit more obvious here. 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
This indicates a bug in libinput record, might as well complain about it. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Signed-off-by:
Jacob Kauffmann <jacob@system76.com>
-
- Jan 29, 2020
-
-
Peter Hutterer authored
alps.c hardcodes 5 slots in the kernel but some devices only provide 2 slots plus BTN_TOOL_TRIPLETAP, etc. Fix this by counting active slots and when the fake finger count exceeds the active slots but is still less than the number of slots, adjust the slots themselves downwards. And because the new test device messes with our slot count assumptions for the various tests hardcode that one device to return 2 slots. Fixes #408 Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
Let those functions return true if they handled the event or false where they didn't. This makes it more flexible to override touches in special cases only and fall back to the normal litest handling otherwise. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
This is prep work for future devices that announce a wrong slot count. For the tests this can be a problem if we rely on the correct slot count to decided whether to run a test or not. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
William Brown authored
It wasn't clear about the Signed-of-by requirements, so this has been improved with an example, and clarifies that it is a requirement, not optional. Signed-off-by:
William Brown <william@blackhats.net.au>
-
William Brown authored
This makes a small number of changes that can help improve onboarding and diversity of contributors. Key to point out is that the code of conduct is now one of the first items, to highlight the community standards (rather than being at the bottom where it can be overlooked). The use of the work "hack" often is off putting to many people, so replaced with "work". Additionally, changed the introduction to highlight a desire to be inclusive. A follow up you probably could do, is have a "how to prepare the development environment" aka "what depenedencies do I need for my distro to build the project. Much of this has come from experience working with outreach/diversity experts, and my own experience on http://www.port389.org/docs/389ds/contributing.html Signed-off-by:
William Brown <william@blackhats.net.au>
-
- Jan 21, 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>
-
- Jan 20, 2020
-
-
Old-style field initialisation ignores the 64-bit time_t change in Linux UAPI, which causes the structure to be incompletely initialised on 32-bit systems with the 64-bit time_t kernel headers. This patch uses the input_event_init helper from the original 64-bit time_t enablement patch. Signed-off-by:
A. Wilcox <AWilcox@Wilcox-Tech.com> Fixes: 5dc1a7eb ("Adjust for 64bit time_t for 32bit architectures") See-Also: libinput/libinput!346
-
Peter Hutterer authored
Unfortunately the various VM jobs are timing sensitive and create a bunch of false positives if the runners are under load and miss out on some of the events (the tablet proximity handling is a particularly bad test here). Let's retry on failure first to give the CI more opportunity to maybe succeed. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- Jan 19, 2020
-
-
Peter Hutterer authored
Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- Jan 15, 2020
-
-
Peter Hutterer authored
See #400 Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-