xinput

Configure and test X input devices like mice, keyboards, and touchpads.

brewmacoslinux
Try with needOr install directly
Source

About

Utility to configure and test X input devices

Commands

xinput

Examples

list all input devices connected to system$ xinput list
show detailed properties of a specific input device$ xinput list-props 'Device Name'
enable or disable a mouse or touchpad device$ xinput enable <device-id>
adjust mouse pointer speed and acceleration$ xinput set-prop 'Mouse Name' 'Accel Speed' 2.0
test keyboard and mouse input interactively$ xinput test <device-id>