mdetect

mouse device autodetection tool

Install

All systems
curl cmd.cat/mdetect.sh
Debian Debian
apt-get install mdetect
Ubuntu
apt-get install mdetect
image/svg+xml Kali Linux
apt-get install mdetect
Windows (WSL2)
sudo apt-get update sudo apt-get install mdetect
Raspbian
apt-get install mdetect

mdetect

mouse device autodetection tool

mdetect is a tool for autoconfiguring mice; it is typically used as the backend to some user-friendly frontend code. mdetect writes the autodetected mouse device and protocol (as used by gpm) to standard output. It can be invoked so as to produce output appropriate for XFree86 X server configuration files.