8 import roslib; roslib.load_manifest(
"joy_mouse")
11 if __name__ ==
"__main__":
12 rospy.init_node(
"joy_mouse")
13 device_name = rospy.get_param(
"~dev_name",
False)
17 dev = rospy.get_param(
"~dev",
"/dev/input/mouse0")
19 rospy.get_param(
"~autorepeat_rate", 0),
20 rospy.get_param(
"~frame_id",
"mouse"))
def lookupDeviceFileByNameAttribute(name, prefix="mouse")
def main(device_name, autorepeat_rate, frame_id)