xinput
a utility to list available input devices, query information about a device and change input device settings
xinput list
- Disconnect an input from a master.
xinput float {{id}}
- Reattach an input as slave to a master
xinput float {{id}} {{master id}}