49
51
unsigned short vendor_id = 0, product_id = 0;
50
52
if (sscanf(line, "Bus %*d Device %*d: ID %hx:%hx", &vendor_id, &product_id) == 2)
51
53
if (setDevice(vendor_id, product_id)) {
53
54
break; /* stop looking once the first 3D mouse is found */