- Dec 14, 2017
-
-
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> (cherry picked from commit 0b837296)
-
Peter Hutterer authored
Suggested in https://bugs.freedesktop.org/show_bug.cgi?id=103947#c2 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit d1146930)
-
Peter Hutterer authored
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit ac1d5082)
-
- Dec 08, 2017
-
-
Peter Hutterer authored
Commit db3b6fe5 "fallback: change to handle the state at EV_SYN time" introduced regressions for two types of event sequences. One is a kernel bug - some devices/drivers like the asus-wireless send a key press + release within the same event frame which now cancels out and disappears into the ether. This should be fixed in the kernel drivers but there appear to be enough of them that we can't just pretend it's an outlier. The second issue is a libinput bug. If we get two key events in the same frame (e.g. shift + A) we update the state correctly but the events are sent in the order of the event codes. KEY_A sorts before KEY_LEFTSHIFT and our shift + A becomes A + shift. Fix this by treating key events as before db3b6fe5 - by sending them out as we get them. https://bugs.freedesktop.org/show_bug.cgi?id=104030 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit 1c863692)
-
- Nov 28, 2017
-
-
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> (cherry picked from commit 1b54b726)
-
Peter Hutterer authored
Sequences to trigger: - spurious debouncing is enabled - release a button in IS_DOWN state -> RELEASE_DELAYED - short timeout triggers RELEASE_WAITING If a button press now comes before the long timeout expires, we transition to MAYBE_SPURIOUS where the long timeout may expire. In that case we should transition to pressed state again. Reported-by: Vicente Bergas <vicencb@gmail.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit ac1748ef)
-
Peter Hutterer authored
The current debouncing code monitors events and switches on when events are too close together. From then on, any event can be delayed. Vicente Bergas provided an algorithm that avoids most of these delays: on a button state change we now forward the change without delay but start a timer. If the button changes state during that timer, the changes are ignored. On timer expiry, events are sent to match the hardware state with the client's view of the device. This is only done if needed. Thus, a press-release sequence of: PRP sends a single press event, a sequence of PRPR sends press and then the release at the end of the timeout. The timeout is short enough that the delay should not be noticeable. This new mode is called the 'bounce' mode. The old mode is now referred to as 'spurious' mode and only covers the case of a button held down that loses contact. It works as before, monitoring a button for these spurious contact losses and switching on. When on, button release events are delayed as before. The whole button debouncing moves to a state machine which makes debugging a lot easier. See the accompanying SVG for the diagram. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit de994d13)
-
Peter Hutterer authored
The previous approach was to remember the last event and flush it at the right time. The new approach is to update the device state during the frame and send out the events at EV_SYN time. This gives us two advantages: we are not dependent on the kernel order of how events come in and we can process events depending on other events in the same frame. This will come in handy later for button debouncing. This is also the approach we have in the touchpad and tablet backends. Two FIXMEs are left in place, the button debouncing code and the lid switch code. Both need to be handled in future patches. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit db3b6fe5)
-
Peter Hutterer authored
vertical wheel is y, not x Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit eb048529)
-
Peter Hutterer authored
This one is present in the parent evdev device Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit 8e86f289)
-
Peter Hutterer authored
So we can split up evdev-fallback.c into multiple files where needed. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit 87920f49)
-
Peter Hutterer authored
This is via a simple search & replace. Later auditing is needed to switch clicks that should not be debounced (e.g. touchpads) back to a non-debounced version. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit 8cf6893f)
-
Peter Hutterer authored
This has no real effect at the moment because the fallback interface doesn't care much about SYN_REPORT, it processes events as they come in. But it's a bug nonetheless, the process() callback expects correct event frames. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit dc7fb65d)
-
Peter Hutterer authored
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit 6c806860)
-
- Nov 16, 2017
-
-
Peter Hutterer authored
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit b170993b)
-
- Nov 15, 2017
-
-
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> (cherry picked from commit 13c9ef07)
-
Peter Hutterer authored
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit 67bfb5cf)
-
Peter Hutterer authored
Makes it more user-friendly to be able to split the tools into multiple packages Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit 92aa1d14)
-
Peter Hutterer authored
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit be344a3a)
-
- Nov 14, 2017
-
-
Peter Hutterer authored
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit c67b74b4)
-
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit 48fd22de)
-
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit 5ea84fa7)
-
Peter Hutterer authored
Especially /run/udev/rules.d may not exist, causing a test suite failure. https://bugs.freedesktop.org/show_bug.cgi?id=103527 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit d332a64d)
-
Peter Hutterer authored
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit b15b6661)
-
Peter Hutterer authored
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit 04c64394)
-
Peter Hutterer authored
https://bugs.freedesktop.org/show_bug.cgi?id=103532 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit fb467dce)
-
Peter Hutterer authored
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit e182489c)
-
Peter Hutterer authored
needed for the razer blade keybard which provides multiple event nodes for one physical device but it's hard/impossible to identify which one is the real event node we care about. https://bugs.freedesktop.org/show_bug.cgi?id=103156 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit 4d759206)
-
- Oct 30, 2017
-
-
Peter Hutterer authored
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
- Oct 27, 2017
-
-
Peter Hutterer authored
Once the lid is closed, the keyboard event listener is set up to open the lid for us on keyboard events. With the right sequence, we can trigger the listener to be added to the list multiple times, triggering an assert in the list test code (or an infinite loop in the 1.8 branch). Conditions: * SW_LID value 1 - sets up the keyboard listener * keyboard event - sets lid_is_closed to false * SW_LID value 0 - is ignored because we're already open * SW_LID value 1 - sets up the keyboard listener again https://bugs.freedesktop.org/show_bug.cgi?id=103298 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
- Oct 26, 2017
-
-
The version field is a per device information. We have no guarantees a touchscreen and a tablet device will share the same version of the firmware (especially if both firmwares are from different vendors). Fixes the touch arbitration for the Dell Canvas 27 Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
For GDK_SEAT_CAPABILITY_ALL_POINTING https://bugs.freedesktop.org/show_bug.cgi?id=103462 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
- Oct 25, 2017
-
-
Peter Hutterer authored
The main purpose of the edge zone is to detect palms in the area where we cannot assume a full finger size and thus cannot use any other palm detection mechanism. 8mm should be large enough that a finger should be detected based on other properties (size, pressure, ...). https://bugs.freedesktop.org/show_bug.cgi?id=103330 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
This patch only adjusted the left edge, not the right edge which was still on 8% This reverts commit 3e9e0e2e.
-
- Oct 23, 2017
-
-
Peter Hutterer authored
The main purpose of the edge zone is to detect palms in the area where we cannot assume a full finger size and thus cannot use any other palm detection mechanism. 8mm should be large enough that a finger should be detected based on other properties (size, pressure, ...). https://bugs.freedesktop.org/show_bug.cgi?id=103330 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Daniel Martin <consume.noise@gmail.com>
-
- Oct 20, 2017
-
-
Peter Hutterer authored
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-