DOKK / manpages / debian 12 / libevdev-tools / mouse-dpi-tool.1.en
MOUSE-DPI-TOOL(1) General Commands Manual MOUSE-DPI-TOOL(1)

mouse-dpi-tool - mouse resolution estimation tool

mouse-dpi-tool <evdev device>

mouse-dpi-tool reads relative events (mouse movement events) and calculates the distance covered and maximum frequency of the incoming events. Combined with a measurement of the actual distance physically covered, this allows the mouse's resolution to be estimated.

Some mouse devices provide dynamic frequencies, it is recommended to measure multiple times to obtain the highest value.

mouse-dpi-tool accepts no options.