- Sep 05, 2018
-
-
Matt Mayfield authored
-
- Sep 02, 2018
-
-
Matt Mayfield authored
-
- Sep 01, 2018
-
-
Matt Mayfield authored
-
Matt Mayfield authored
-
Matt Mayfield authored
-
Matt Mayfield authored
-
Matt Mayfield authored
-
Matt Mayfield authored
-
Matt Mayfield authored
-
Matt Mayfield authored
-
Matt Mayfield authored
-
Matt Mayfield authored
-
- Aug 31, 2018
-
-
Matt Mayfield authored
-
Matt Mayfield authored
It doesn't seem necessary anymore.
-
Matt Mayfield authored
-
- Aug 30, 2018
-
-
Matt Mayfield authored
-
Matt Mayfield authored
-
Matt Mayfield authored
-
Matt Mayfield authored
-
Matt Mayfield authored
-
Matt Mayfield authored
When a touchpad has thumb detection enabled, avoid false-positive gestures involving a resting thumb by using two thresholds: inner and outer. While both touches remain inside their inner thresholds, remain in UNKNOWN state to allow for accurate gesture detection even with no timeout. If both touches move outside their inner thresholds, start a pinch or swipe/scroll gesture according to direction, as usual. If one touch moves outside its outer threshold while the other has not yet exceeded its inner threshold, and thumb detection is enabled, then if one touch is >20mm lower, mark it as a thumb and cancel the gesture.
-
- Aug 29, 2018
-
-
Peter Hutterer authored
This is mostly taken from the Weston Contributing.md document. Main changes from there are: - more detailed step-by-step on how to create a MR - commit history/messages in two sections - s/Weston/libinput/ I skipped the Review/Commit Rights sections for now until there's some demand for it. Same with the Licensing/Stabilising for releases sections. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Acked-by: Daniel Stone <daniels@collabora.com>
-
Peter Hutterer authored
Fixes #117 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Matt Mayfield authored
In testing on an Apple Magic Trackpad, thumb touches are reliably detected by being quite large in the major dimension, but around half the size in the minor dimension.
-
Peter Hutterer authored
Fixes #97 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
Use a boolean for whether we need to use it and drop the unneded absinfo assignment (together with the goto). Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
- Aug 28, 2018
-
-
Peter Hutterer authored
We never want to accidentally trigger this one. Where we trigger them on purpose, we can swap the log handler out first. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
This forces events for every ~10ms now. If we want a slower movement, we need more steps - just like a real touchpad does it. Cocinelle spatch files were variants of: @@ expression A, B, C, D, E, F, G, H, I, J, K; @@ - litest_touch_move_two_touches(A, B, C, D, E, F, G, H, I) + litest_touch_move_two_touches(A, B, C, D, E, F, G, H) The only test that needed a real fix was touchpad_no_palm_detect_2fg_scroll, it used 12ms before, now it's using 10ms so on the bcm5974 touchpad the second finger was a speed-thumb. Increasing the events and thus slowing down the pointer means it's a normal finger and the test succeeds again. 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
Change a number of tests to use 10ms intervals between finger events and fix the coordinates up accordingly to avoid pointer jumps. This is in preparation for a test-suite wide use of 10ms intervals. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
move_to() now uses delays, let's make this test more robust for timing errors so we don't fall below the threshold movement we want to trigger. 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
The coordinates ended up being in the first touch detected as palm. Not relevant for this test, but let's not do that to avoid false positives. Also change to 10ms intervals, more realistic given the hardware. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
We moved to 60/60 before, not 50/50. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
- Aug 27, 2018
-
-
Peter Hutterer authored
Once we start working with real event frames (i.e. intervals after SYN_REPORT) we'll always trigger the proximity timeout here. Avoid this by sending one event with all buttons. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
This one only starts with diagonal but continues vertically. Make it clearer. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
This test only succeeded because all events were sent within the dwt timeout. Change it to actually test the behavior of a touch being disabled by DWT and staying disabled. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
These only succeeded because the test suite doesn't use frame intervals - as soon as the time between event frames is nonzero, we may fail these. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
If we only want one event anyway... Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
We can use the _extended version here. And it turns out the behavior was slightly different, with the _extended version doing one step too few. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-