xsetpointer - set an X Input device as the main pointer
xsetpointer -l | device-name
Xsetpointer sets an XInput device as the main pointer. When called with the -l flag it lists the available devices. When called with the -c/+c flag, it toggles the sending of core input events, for servers which implement a virtual core pointer; -c disables core events, and +c enables.
Frederic Lepied