Package evtest

Event device test program

http://cgit.freedesktop.org/evtest/

evtest is a simple utility to query information about input devices
and watch the event stream generated by input devices.

General Commands (Section 1)
evtest
The first invocation type displayed above ("capture mode") causes evtest to display information about the specified input device, including all the events...