Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 public static void IOHIDDeviceRegisterInputValueCallback(IntPtr device, HIDInput.NativeMethods.IOHIDValueCallback callback, IntPtr context);