| 374 | } |
| 375 | |
| 376 | void USBMgr::transferThreadFunc() |
| 377 | { |
| 378 | SetThreadName("PS3EyeDriver Transfer Thread"); |
| 379 | |
| 380 | struct timeval tv; |
| 381 | tv.tv_sec = 0; |
| 382 | tv.tv_usec = 50 * 1000; // ms |
| 383 | |
| 384 | while (!exit_signaled) |
| 385 | { |
| 386 | libusb_handle_events_timeout_completed(usb_context, &tv, NULL); |
| 387 | } |
| 388 | } |
| 389 | |
| 390 | int USBMgr::listDevices( std::vector<PS3EYECam::PS3EYERef>& list ) |
| 391 | { |
nothing calls this directly
no test coverage detected