Joel Purra: Developer and more

Support multi-field controls

Repository details (uvcc)
Project page
Project category
(150 entries)
uvcc on Github@joelpurra/uvcc
joelpurra on Github@joelpurra
Commit details (d33e6052)
Authored at
Joel Purra
Commited at

Commit message

Support multi-field controls

- Some controls can have more than one field, or "part".
- Previously, only the first value was (partially, if at all) supported.
- Updates commands to accept one or two values.
  - Not accepting 2+/"unlimited" fields at this time.
  - Can be implemented, but there is no use case (?) at the moment.
- No checks are performed against the underlying camera control.
  - If a control only supports one field, a second value is (seemingly) ignored.
  - If only one value is provided to a multi-field control, the second value is (probably) set to `0`.
- Only tested using `absolute_pan_tilt` using Logitech C920.

Changed files (15)

Commit categories (3)

Live programming stream