1.1 --- a/Hid/HidDevice.cs Sun Mar 15 20:30:00 2015 +0100
1.2 +++ b/Hid/HidDevice.cs Sun Mar 15 20:44:15 2015 +0100
1.3 @@ -32,7 +32,7 @@
1.4 /// Represent a HID device.
1.5 /// Rename to RawInputDevice?
1.6 /// </summary>
1.7 - public class HidDevice: IDisposable
1.8 + public class Device: IDisposable
1.9 {
1.10 /// <summary>
1.11 /// Unique name of that HID device.
1.12 @@ -74,7 +74,7 @@
1.13 /// Class constructor will fetch this object properties from HID sub system.
1.14 /// </summary>
1.15 /// <param name="hRawInputDevice">Device Handle as provided by RAWINPUTHEADER.hDevice, typically accessed as rawinput.header.hDevice</param>
1.16 - public HidDevice(IntPtr hRawInputDevice)
1.17 + public Device(IntPtr hRawInputDevice)
1.18 {
1.19 //Try construct and rollback if needed
1.20 try
1.21 @@ -93,7 +93,7 @@
1.22 /// <summary>
1.23 /// Make sure dispose is called even if the user forgot about it.
1.24 /// </summary>
1.25 - ~HidDevice()
1.26 + ~Device()
1.27 {
1.28 Dispose();
1.29 }