- 06 Oct, 2020 4 commits
-
-
Peter Hutterer authored
A default git depth of 1 means git describe won't work, let's set it to something high enough that we should always have at least one tag in the history. And save the artifacts after the coverity compilation, where the submission fails for whatever reason we can just resubmit those manually without having to rebuild the whole image locally. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
Alternate between two randomly-chosen colors for each batch of debug messages to make it easier to visually group the two. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
The messages with priority DEBUG refer to the various internal state machines updating, so it's useful to know when they did so. Let's count up every time we trigger libinput_dispatch() so we know how the messages group together. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
This is a closer approximation of all callers anyway, and it makes it easier to debug which events are handled per libinput_dispatch() call. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 05 Oct, 2020 1 commit
-
-
Davide Depau authored
The current defaults detect force presses as palm or thumb. The values provided here work for a 99% accurate palm/thumb detection and provide close zero false positives in my tests. Signed-off-by:
Davide Depau <davide@depau.eu>
-
- 29 Sep, 2020 1 commit
-
-
Peter Hutterer authored
Using output: ['.'] broke ninja after ninja clean - it removed the whole directory and thus the meson-generated configure_files (i.e. all the doxygen sources we copied). ninja didn't know how to build those. Fix this by rearranging the doxygen output to build into a different directory now and setting the output to that. This doesn't exactly *fix* things since that directory is no longer removed during ninja clean, but at least the build no longer fails. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 28 Sep, 2020 1 commit
-
-
Kaichuan Hsieh authored
ALPS i2c touchpad support ABS_PRESSURE and ABS_MT_PRESSURE capabilities, The default threshold 130 is too easy to across while finger movement. It will cause the cursor stalled after the threshold is achieved, which impacts user experience. Test with some ALPS touchpads 0488:101A, 0488:101D, 0488:101E, the value 180 is good on those platforms. Signed-off-by:
Kai-Chuan Hsieh <kaichuan.hsieh@canonical.com>
-
- 25 Sep, 2020 5 commits
-
-
satrmb authored
Signed-off-by:
satrmb <10471-satrmb@users.noreply.gitlab.freedesktop.org>
-
satrmb authored
This covers the addition of two- and three-finger tap-and-drag, as well as the fix for multitaps with more than one finger in later taps and the multifinger enhancement to the tap ending drag-lock. Signed-off-by:
satrmb <10471-satrmb@users.noreply.gitlab.freedesktop.org>
-
satrmb authored
Also permits any number of fingers in the tap that terminates drag-lock. Signed-off-by:
satrmb <10471-satrmb@users.noreply.gitlab.freedesktop.org>
-
satrmb authored
This commit duplicates the tap states responsible for tap-and drag (TAPPED and all DRAGGING* states) to cover two-finger and three-finger taps; the code for the new states is shared with the existing machinery for one-finger tap-and-drag. Signed-off-by:
satrmb <10471-satrmb@users.noreply.gitlab.freedesktop.org>
-
satrmb authored
This is in preparation for three-finger tap-and-drag, which will start from a completed tap with no fingers down. Signed-off-by:
satrmb <10471-satrmb@users.noreply.gitlab.freedesktop.org>
-
- 22 Sep, 2020 7 commits
-
-
Peter Hutterer authored
This is the device from #259 which sets BTN_TOOL_PEN in addition to the real tool. Integrate this into the test device proper so it always does this to catch various outliers. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
More realistic, there's no way you can get the x/y coordinates exactly the same when moving the pen back into prox. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
The current tool type test merely sends BTN_TOOL_RUBBER (and others) manually and expects libinput to do the right thing. This only tests the perfect sequence but not test weird devices that behave differently on a tool type switch. So let's fix this by setting the tool type as property on the libinput test device itself, and then emulate the tool switch through litest. For special devices this will need extra callbacks, this is just the initial framework to handle those buttons. 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 test only worked because we're emulating events that the device never sends that way. Just skip the test, devices that require a forced prox out probably don't handle (or even have) erasers ayway. 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
No functional changes Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 17 Sep, 2020 2 commits
-
-
Peter Hutterer authored
Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
Too many recordings end up with the device list at the top when users redirect stderr and stdout to the recordings file. This breaks yaml parsing and requires manual removal of the first few lines. Avoid this by prefixing the lines with a command character, this way the yaml stays correct. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 16 Sep, 2020 3 commits
-
-
Peter Hutterer authored
Useful to record devices like power buttons, lid switches, etc. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
goer authored
Signed-off-by:
weizhixiang <1138871845@qq.com>
-
goer authored
Signed-off-by:
weizhixiang <1138871845@qq.com>
-
- 15 Sep, 2020 1 commit
-
-
goer authored
Signed-off-by:
weizhixiang <1138871845@qq.com>
-
- 11 Sep, 2020 1 commit
-
-
Peter Hutterer authored
Where a device is replayed locally for testing, its udev properties should match the recorded properties. Otherwise the testing results will not be reliable. The exception here is the device group which we currently don't set for emulated devices and even if we did, it may intentionally differ anyway. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 09 Sep, 2020 11 commits
-
-
Peter Hutterer authored
These seem like a decent-enough set to have, only -Wlogical-op actually produced a new warning. 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>
-
Peter Hutterer authored
All we care about for C++ is that we build. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
It's been out for 2 years. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
Both of our minimum versions were released in 2012, no more need to check. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
Released in 2017, that's enough waiting Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
It makes the printf statements nicer and we ne don't use it on its own anywhere anyway. 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
We require meson 0.45, so this can no longer be triggered. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 07 Sep, 2020 2 commits
-
-
weizhixiang authored
Signed-off-by:
weizhixiang <1138871845@qq.com>
-
Peter Hutterer authored
Some ALPS touchpad send the occasional 4095/0 event on slot 1 during two-finger interaction before snapping back to the actual position of the finger. There doesn't seem to be a specific heuristic to predict this so let's hardcode those values. When detected, overwrite the current touch point with the position of the last point. This will likely cause a small pointer jump when the finger later moves to the real position but based on #492 this could be a second later, so all bets are off anyway. Fixes #492Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 03 Sep, 2020 1 commit
-
-
Peter Hutterer authored
Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-