X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2FLibCecTray%2Fcontroller%2FCECController.cs;h=f4dc434b18bf4dcb6921dc981c07e683ec8689e6;hb=d5890d16af8ca61857553a4285ee34c1d104353c;hp=f7a3a04fb37dec7777e6c2ce78cbc6d58247817c;hpb=f017f3c49b9136fbffe49fa3eaf372c51617140d;p=deb_libcec.git
diff --git a/src/LibCecTray/controller/CECController.cs b/src/LibCecTray/controller/CECController.cs
index f7a3a04..f4dc434 100644
--- a/src/LibCecTray/controller/CECController.cs
+++ b/src/LibCecTray/controller/CECController.cs
@@ -438,7 +438,7 @@ namespace LibCECTray.controller
{
if (_config == null)
{
- _config = new LibCECConfiguration { DeviceName = "CEC Tray", ClientVersion = CecClientVersion.Version2_0_0 };
+ _config = new LibCECConfiguration { DeviceName = "CEC Tray", ClientVersion = CecClientVersion.Version2_0_3 };
_config.DeviceTypes.Types[0] = CecDeviceType.RecordingDevice;
_config.SetCallbacks(this);
@@ -490,6 +490,23 @@ namespace LibCECTray.controller
get { return Lib.ToString(Config.ClientVersion); }
}
+ ///
+ /// Get the usb vendor id
+ ///
+ public ushort AdapterVendorId
+ {
+ get { return Lib.GetAdapterVendorId(); }
+ }
+
+ ///
+ /// Get the usb product id
+ ///
+ public ushort AdapterProductId
+ {
+ get { return Lib.GetAdapterProductId(); }
+ }
+
+
///
/// libCEC
///