mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-24 11:10:04 +01:00
If --compress-motion-events is given (and stdout is a tty) reduce the output printed to one line per repeated motion/axis/scroll sequence (with a count). Example output: event6 POINTER_MOTION 108 +1.912s 1.00/ -1.00 ( +1.00/ -1.00)) event6 POINTER_BUTTON +2.008s BTN_LEFT (272) pressed, seat count: 1 event6 POINTER_BUTTON +2.074s BTN_LEFT (272) released, seat count: 0 event6 POINTER_MOTION 39 +5.249s 0.00/ 0.99 ( +0.00/ +1.00) event6 POINTER_BUTTON +5.385s BTN_LEFT (272) pressed, seat count: 1 event6 POINTER_MOTION 66 +6.031s -1.00/ 0.00 ( -1.00/ +0.00) event6 POINTER_BUTTON +6.401s BTN_LEFT (272) released, seat count: 0 The event count (108, 39 and 66) is only printed for more than one event in sequence so the output is otherwise identical (but 4 spaces wider now) If stdout is not a tty the event count is printed but no compression happens since we rely on a ansi escape sequence for that. Could be fixed by changing the current print statements to print a \n before the current event instead of at the end of the current line. This makes debugging events easier as button events and similar are no longer obscured by pages of motion events in between. Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1041> |
||
|---|---|---|
| .. | ||
| libinput-analyze-buttons.man | ||
| libinput-analyze-buttons.py | ||
| libinput-analyze-per-slot-delta.man | ||
| libinput-analyze-per-slot-delta.py | ||
| libinput-analyze-recording.man | ||
| libinput-analyze-recording.py | ||
| libinput-analyze-touch-down-state.man | ||
| libinput-analyze-touch-down-state.py | ||
| libinput-analyze.c | ||
| libinput-analyze.man | ||
| libinput-debug-events.c | ||
| libinput-debug-events.man | ||
| libinput-debug-gui.c | ||
| libinput-debug-gui.man | ||
| libinput-debug-tablet.c | ||
| libinput-debug-tablet.man | ||
| libinput-list-devices.c | ||
| libinput-list-devices.man | ||
| libinput-list-kernel-devices.man | ||
| libinput-list-kernel-devices.py | ||
| libinput-measure-fuzz.man | ||
| libinput-measure-fuzz.py | ||
| libinput-measure-touch-size.man | ||
| libinput-measure-touch-size.py | ||
| libinput-measure-touchpad-pressure.man | ||
| libinput-measure-touchpad-pressure.py | ||
| libinput-measure-touchpad-size.man | ||
| libinput-measure-touchpad-size.py | ||
| libinput-measure-touchpad-tap.man | ||
| libinput-measure-touchpad-tap.py | ||
| libinput-measure.c | ||
| libinput-measure.man | ||
| libinput-quirks.c | ||
| libinput-quirks.man | ||
| libinput-record-verify-yaml.py | ||
| libinput-record.c | ||
| libinput-record.man | ||
| libinput-replay.man | ||
| libinput-replay.py | ||
| libinput-test.c | ||
| libinput-test.man | ||
| libinput-tool.c | ||
| libinput.man | ||
| make-ptraccel-graphs.sh | ||
| ptraccel-debug.c | ||
| razer-quirks-lister.py | ||
| shared.c | ||
| shared.h | ||
| test_tool_option_parsing.py | ||