00001 #!/usr/bin/env python 00002 00003 import rospy 00004 00005 try: 00006 import joy_mouse.xinput 00007 except: 00008 import roslib; roslib.load_manifest("joy_mouse") 00009 import joy_mouse.xinput 00010 00011 if __name__ == "__main__": 00012 rospy.init_node("disbale_mouse") 00013 joy_mouse.xinput.disableDeviceByRegexp(rospy.myargv()[1])