|
||
---|---|---|
.gitignore | ||
.gitlab-ci.yml | ||
COPYING | ||
INSTALL | ||
Makefile.am | ||
README.md | ||
autogen.sh | ||
configure.ac | ||
evtest.c | ||
evtest.txt |
README.md
evtest — Kernel input device debugging
evtest is a tool to print evdev kernel events. It reads directly from the kernel device and prints a device description and the events with the value and the symbolic name.
Usage:
evtest /dev/input/event0
Note: in most cases evtest needs to run as root to be able to read the devices.
For more information, see the evtest(1) man page.
Development
Please send patches as merge requests on the GitLab repository: https://gitlab.freedesktop.org/libevdev/evtest
Remote protocol
log eg:
Event: time 1718671964.518858, type 1 (EV_KEY), code 272 (BTN_LEFT), value 1
Event: time 1718671964.615091, type 1 (EV_KEY), code 272 (BTN_LEFT), value 0
type 3 (EV_ABS), code 1 (ABS_Y), value 32434