public HIDInput() { this.HandleDeviceAdded = new HIDInput.NativeMethods.IOHIDDeviceCallback(this.DeviceAdded); this.HandleDeviceRemoved = new HIDInput.NativeMethods.IOHIDDeviceCallback(this.DeviceRemoved); this.HandleDeviceValueReceived = new HIDInput.NativeMethods.IOHIDValueCallback(this.DeviceValueReceived); this.hidmanager = this.CreateHIDManager(); this.RegisterHIDCallbacks(this.hidmanager); }
public static void IOHIDManagerRegisterDeviceRemovalCallback(IntPtr inIOHIDManagerRef, HIDInput.NativeMethods.IOHIDDeviceCallback inIOHIDDeviceCallback, IntPtr inContext);