summaryrefslogtreecommitdiff
path: root/simple-cam.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'simple-cam.cpp')
-rw-r--r--simple-cam.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/simple-cam.cpp b/simple-cam.cpp
index 763341a..00ad52b 100644
--- a/simple-cam.cpp
+++ b/simple-cam.cpp
@@ -279,11 +279,10 @@ int main()
requests.push_back(request);
/*
- * todo: Set controls
- *
- * ControlList &Request::controls();
- * controls.set(controls::Brightness, 255);
+ * Controls can be added to a request on a per frame basis.
*/
+ ControlList &controls = request->controls();
+ controls.set(controls::Brightness, 0.5);
}
/*