Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions example-ofxUVC/bin/data/camera_settings.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cameraToUse: 0
cameraToUse: 7
cameras:
- name: Microsoft LifeCam HD-5000
vendorId: 0x45e
Expand Down Expand Up @@ -44,4 +44,11 @@ cameras:
productId: 0x81a
interfaceNum: 0x00
width: 640
height: 480
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
4 changes: 2 additions & 2 deletions src/ofxUVC.mm
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down