summaryrefslogtreecommitdiff
path: root/tools/libinput-measure-touchpad-pressure.py
Commit message (Collapse)AuthorAgeFilesLines
* Use python black for all pyhon file formattingPeter Hutterer2021-01-281-65/+117
| | | | | | Let's enforce a consistent (and verifiable) style everywhere. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* tools: make the thumb threshold configurable while measuring pressurePeter Hutterer2020-03-301-0/+7
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* tools: revamp the touchpad-pressure measuring toolPeter Hutterer2020-03-301-37/+82
| | | | | | Let's hope this one is more obvious to use for users. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* tools: flake8 fixes for the various python filesPeter Hutterer2019-09-111-4/+4
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* tools: improve the error messages for measure touch-size/touchpad-pressurePeter Hutterer2019-06-241-2/+3
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* tools: switch measure-touchpad-pressure to python-libevdevPeter Hutterer2019-04-011-37/+29
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* tools: allow measuring single-touch ABS_PRESSUREPeter Hutterer2018-11-061-2/+8
| | | | | | Fixes #173 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* tools: handle a finger down at startup for measure pressure/touch-sizePeter Hutterer2018-08-291-6/+14
| | | | | | Fixes #117 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* tools: drop two unused importsPeter Hutterer2018-07-261-1/+0
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* tools: rely on the libinput and quirks tool to pick the right directoriesPeter Hutterer2018-07-091-0/+322
Don't use a custom hack here, just make sure the tool ends up in the builddir so it's picked up by the libinput main tool. This means the PATH isn't set up correctly when called directly (./builddir/libinput-measure-touchpad-pressure) but the workaround is to always use the libinput tool - just as we expect from users. To make it more obvious that we're not supposed to run this directly, rename the source file to .py Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>