DOKK / manpages / debian 12 / input-utils / input-events.8.en
INPUT-EVENTS(8) INPUT-EVENTS(8)

input-events - print input events

input-events [-t sec] [-g] devnr

input-events listens for events on kernel input device devnr and prints them.

The index of the input device to use (0 for /dev/input/event0 and so on).

Grab device using EVIOCGRAB, i.e., get exclusive access to the device.

Set the timeout. The program will quit after sec seconds without activity.

lsinput(8)

Gerd Knorr.

July 2005