X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2FLibCecTray%2Fcontroller%2FCECController.cs;h=c1a6ed32e29c26411121a2686d0e8709d680488a;hb=bfea6e0a8ee4bc9e40c64ea68f22db69ac3cb26f;hp=f7a3a04fb37dec7777e6c2ce78cbc6d58247817c;hpb=8768aecabf8219cdf0ceb28a8b9ca4ef6756b612;p=deb_libcec.git
diff --git a/src/LibCecTray/controller/CECController.cs b/src/LibCecTray/controller/CECController.cs
index f7a3a04..c1a6ed3 100644
--- a/src/LibCecTray/controller/CECController.cs
+++ b/src/LibCecTray/controller/CECController.cs
@@ -1,7 +1,7 @@
/*
* This file is part of the libCEC(R) library.
*
- * libCEC(R) is Copyright (C) 2011-2012 Pulse-Eight Limited. All rights reserved.
+ * libCEC(R) is Copyright (C) 2011-2013 Pulse-Eight Limited. All rights reserved.
* libCEC(R) is an original work, containing original code.
*
* libCEC(R) is a trademark of Pulse-Eight Limited.
@@ -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_1_0 };
_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
///