m_libCec->InitVideoStandalone();
}
+ /// <summary>
+ /// Get the (virtual) USB vendor id
+ /// </summary>
+ /// <returns>The (virtual) USB vendor id</returns>
+ uint16_t GetAdapterVendorId()
+ {
+ return m_libCec->GetAdapterVendorId();
+ }
+
+ /// <summary>
+ /// Get the (virtual) USB product id
+ /// </summary>
+ /// <returns>The (virtual) USB product id</returns>
+ uint16_t GetAdapterProductId()
+ {
+ return m_libCec->GetAdapterProductId();
+ }
+
private:
!LibCecSharp(void)
{
if (netConfig->ServerVersion >= CecServerVersion::Version1_6_3)
config.bMonitorOnly = netConfig->MonitorOnlyClient ? 1 : 0;
+ if (netConfig->ServerVersion >= CecServerVersion::Version1_8_0)
+ config.cecVersion = (cec_version)netConfig->CECVersion;
+
config.callbacks = &g_cecCallbacks;
}