diff --git a/example-ofxUVC/bin/data/camera_settings.yml b/example-ofxUVC/bin/data/camera_settings.yml index 43194b7..3ce97dd 100644 --- a/example-ofxUVC/bin/data/camera_settings.yml +++ b/example-ofxUVC/bin/data/camera_settings.yml @@ -1,4 +1,4 @@ -cameraToUse: 0 +cameraToUse: 7 cameras: - name: Microsoft LifeCam HD-5000 vendorId: 0x45e @@ -44,4 +44,11 @@ cameras: productId: 0x81a interfaceNum: 0x00 width: 640 - height: 480 \ No newline at end of file + height: 480 +- name: Logitech c615 + vendorId : 0x46d + productId: 0x82c + interfaceNum: 0x02 + # Video Capture (4:3 SD) 320 x 240, 640 x 480, Video Capture (16:9 W) 360P, 480P, 720P, 1080P + width: 480 + height: 360 \ No newline at end of file diff --git a/src/ofxUVC.mm b/src/ofxUVC.mm index c1e8ac2..aa22e80 100644 --- a/src/ofxUVC.mm +++ b/src/ofxUVC.mm @@ -128,8 +128,8 @@ result.push_back(exposure); ofxUVCControl absoluteFocus; - absoluteFocus.name = "absoluteFocus"; - absoluteFocus.status = [cameraControl getInfoForControl:&[cameraControl getControls]->absoluteFocus]; + absoluteFocus.status = [cameraControl getInfoForControl:&[cameraControl getControls]->focus]; + //absoluteFocus.status = [cameraControl getInfoForControl:&[cameraControl getControls]->absoluteFocus]; result.push_back(absoluteFocus); ofxUVCControl focus;