diff options
author | Paul Elder <paul.elder@ideasonboard.com> | 2024-10-16 20:19:43 +0900 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-10-21 00:23:07 +0300 |
commit | 79893cc00fc6b58d42c411164947b8876bc628c3 (patch) | |
tree | 23526334d82bb430ce9fe43e062866ee0c214856 /.clang-tidy | |
parent | b777d8272af030f66b1a3636d6ffc9b41be58e24 (diff) |
py: Add bindings for ControlId vendor information
Add python bindings for quering vendor information from a ControlId.
While at it, update __repr__ so that it also prints the vendor.
Example usage:
>>> cid
libcamera.ControlId(20, libcamera.Saturation, ControlType.Float)
>>> cid.vendor
'libcamera'
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to '.clang-tidy')
0 files changed, 0 insertions, 0 deletions