- 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>
-
- Jan 09, 2020
-
-
Peter Hutterer authored
Much more human-readable this way Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
Smaller than 3 and greater or equal to 4 means - well, anything that's not 3. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
This was excluding tests from some touchpads due to slot count confusion. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
- Jan 04, 2020
-
-
Michael Forney authored
check 0.13.0 introduced a new struct type TTest for test functions instead of just a function. However, now the tcase_add_* functions use `const Ttest *`, and since litest stores the test case in a `void *`, we get warnings like the following: ../test/test-touchpad.c:7079:30: warning: passing argument 3 of '_litest_add' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] litest_add("touchpad:fuzz", touchpad_fuzz, LITEST_TOUCHPAD, LITEST_ANY); To fix this, use `const void *`, which is compatible with both APIs. Signed-off-by: Michael Forney <mforney@mforney.org>
-
- Jan 03, 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>
-
Peter Hutterer authored
oops... Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
- Jan 02, 2020
-
-
Peter Hutterer authored
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
- Dec 26, 2019
-
-
Björn Daase authored
It turns out that the MX Master 2S also has a different PID when connected via bluetooth, causing horizontal scrolling to not work properly. Fix this, by also adding it with the blueetooth PID (according to https://github.com/libratbag/libratbag/blob/master/data/devices/logitech-MX-Master-2S.device and in line with local testing) to the quirks file. Signed-off-by: Björn Daase <bjoern@daase.net>
-
- Dec 23, 2019
-
-
Peter Hutterer authored
Got lost in 61f81ec9 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
- Dec 11, 2019
-
-
Peter Hutterer authored
Rebuild all the images to make sure this still works fine. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Avoid stuck buttons, so window managers won't behave buggy, for example: * You click on one window, but click is emulated in another one * You hover cursor over button/link but see no feedback Based on quirk for Cyborg mouse. Signed-off-by: Anatolii Lishchynskyi <iamnotacake@protonmail.com>
-
Peter Hutterer authored
skopeo doesn't handle the destination credentials correctly See ci-templates commit 0a9bdd33a98f05af6761ab118b5074952242aab0 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
This runs at the same time as the other images being created so it'll fail if the image itself doesn't exist yet. Since we only need pip here, let's use alpine and install the two packages we need. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
- Dec 05, 2019
-
-
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>
-
Peter Hutterer authored
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-