xinput --list
新建和删除 master:
xinput --create-master xxx xinput --remove-master "xxx pointer"
重新连接设备:
xinput --reattach 9 "xxx pointer"
其中的数字是设备 ID。