evtest

utility to monitor Linux input device events

Install

All systems
curl cmd.cat/evtest.sh
Debian Debian
apt-get install evtest
Ubuntu
apt-get install evtest
Alpine
apk add evtest
Arch Arch Linux
pacman -S evtest
image/svg+xml Kali Linux
apt-get install evtest
Fedora
dnf install evtest
Windows (WSL2)
sudo apt-get update sudo apt-get install evtest
Raspbian
apt-get install evtest
Docker
docker run cmd.cat/evtest evtest powered by Commando

evtest

utility to monitor Linux input device events

evtest monitors a Linux input device, displaying all the events it generates. It can be used to determine mice button bindings, keymaps for exotic keyboards... It is commonly used to debug issues with input devices in X.Org. evtest is now in maintenance mode and doesn't support all the features of the latest kernels; evemu-record from the evemu-tools package should be used instead.