X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2FLibCecSharp%2FLibCecSharp.cpp;h=ff3c619f487694166c2ec37d23aa37763e446c67;hb=8768aecabf8219cdf0ceb28a8b9ca4ef6756b612;hp=a008f2ee671cc3beae8b9ce979ff1b5624e1e11f;hpb=496897540ebcc6fc13b346aa5e08f2148a2770c7;p=deb_libcec.git diff --git a/src/LibCecSharp/LibCecSharp.cpp b/src/LibCecSharp/LibCecSharp.cpp index a008f2e..ff3c619 100644 --- a/src/LibCecSharp/LibCecSharp.cpp +++ b/src/LibCecSharp/LibCecSharp.cpp @@ -731,6 +731,24 @@ namespace CecSharp m_libCec->InitVideoStandalone(); } + /// + /// Get the (virtual) USB vendor id + /// + /// The (virtual) USB vendor id + uint16_t GetAdapterVendorId() + { + return m_libCec->GetAdapterVendorId(); + } + + /// + /// Get the (virtual) USB product id + /// + /// The (virtual) USB product id + uint16_t GetAdapterProductId() + { + return m_libCec->GetAdapterProductId(); + } + private: !LibCecSharp(void) {