Usage: touchpad-edge-detector 12x34 /dev/input/eventX This tool reads the touchpad events from the kernel and calculates the minimum and maximum for the x and y coordinates, respectively. The first argument is the physical size of the touchpad in mm (WIDTHxHEIGHT).