diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libcamera/controls.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libcamera/controls.h b/include/libcamera/controls.h index 0ad442b9..4767e2d3 100644 --- a/include/libcamera/controls.h +++ b/include/libcamera/controls.h @@ -22,6 +22,7 @@ class ControlValidator; enum ControlType { ControlTypeNone, ControlTypeBool, + ControlTypeByte, ControlTypeInteger32, ControlTypeInteger64, ControlTypeFloat, @@ -44,6 +45,11 @@ struct control_type<bool> { }; template<> +struct control_type<uint8_t> { + static constexpr ControlType value = ControlTypeByte; +}; + +template<> struct control_type<int32_t> { static constexpr ControlType value = ControlTypeInteger32; }; |