Go to file
qiurui 79cdf1ae63 add btn_left hang and screen detect 2024-06-18 09:26:43 +08:00
.gitignore Ignore `compile` file (generated by `autoreconf`) 2019-08-01 17:04:56 -07:00
.gitlab-ci.yml Add a basic CI run 2020-11-16 11:14:28 +10:00
COPYING Add GPL2 COPYING document 2009-10-21 12:02:58 +10:00
INSTALL Remove references to evtest-capture from INSTALL 2020-11-12 13:46:07 +00:00
Makefile.am Drop evtest-capture references in autotools 2013-03-14 07:02:36 +10:00
README.md update README 2024-06-18 09:26:11 +08:00
autogen.sh Add autogen.sh for one less buildstep. 2011-01-05 10:07:10 +10:00
configure.ac evtest 1.35 2022-05-18 18:52:49 +00:00
evtest.c add btn_left hang and screen detect 2024-06-18 09:26:43 +08:00
evtest.txt Add grab flag 2015-01-30 09:05:52 +10:00

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