duvc-ctl 2.0.0
USB Video Class Camera Control Library
Loading...
Searching...
No Matches
logitech.cpp File Reference

Logitech-specific property implementations. More...

#include <duvc-ctl/platform/windows/ks_properties.h>
#include <duvc-ctl/utils/logging.h>
#include <duvc-ctl/vendor/logitech.h>
#include <ks.h>
#include <ksproxy.h>
Include dependency graph for logitech.cpp:

Go to the source code of this file.

Namespaces

namespace  duvc
 
namespace  duvc::logitech
 

Macros

#define KSPROPERTY_SUPPORT_GET   1
 
#define KSPROPERTY_SUPPORT_SET   2
 

Functions

Result< std::vector< uint8_t > > duvc::logitech::get_logitech_property (const Device &device, LogitechProperty prop)
 Get Logitech vendor property as raw byte vector.
 
Result< voidduvc::logitech::set_logitech_property (const Device &device, LogitechProperty prop, const std::vector< uint8_t > &data)
 Set Logitech vendor property from raw byte vector.
 
Result< boolduvc::logitech::supports_logitech_properties (const Device &device)
 Check if device supports Logitech vendor properties.
 
template<typename T >
Result< T > duvc::logitech::get_logitech_property_typed (const Device &device, LogitechProperty prop)
 Get typed Logitech property value.
 
template<typename T >
Result< voidduvc::logitech::set_logitech_property_typed (const Device &device, LogitechProperty prop, const T &value)
 Set typed Logitech property value.
 
template Result< uint32_tduvc::logitech::get_logitech_property_typed< uint32_t > (const Device &, LogitechProperty)
 
template Result< int32_tduvc::logitech::get_logitech_property_typed< int32_t > (const Device &, LogitechProperty)
 
template Result< boolduvc::logitech::get_logitech_property_typed< bool > (const Device &, LogitechProperty)
 
template Result< voidduvc::logitech::set_logitech_property_typed< uint32_t > (const Device &, LogitechProperty, const uint32_t &)
 
template Result< voidduvc::logitech::set_logitech_property_typed< int32_t > (const Device &, LogitechProperty, const int32_t &)
 
template Result< voidduvc::logitech::set_logitech_property_typed< bool > (const Device &, LogitechProperty, const bool &)
 

Detailed Description

Logitech-specific property implementations.

Definition in file logitech.cpp.

Macro Definition Documentation

◆ KSPROPERTY_SUPPORT_GET

#define KSPROPERTY_SUPPORT_GET   1

◆ KSPROPERTY_SUPPORT_SET

#define KSPROPERTY_SUPPORT_SET   2