예제 #1
0
파일: HIDInput.cs 프로젝트: conankzhang/fez
 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);
 }
예제 #2
0
파일: HIDInput.cs 프로젝트: tanis2000/FEZ
 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);
 }
예제 #3
0
파일: HIDInput.cs 프로젝트: conankzhang/fez
 public static void IOHIDManagerRegisterDeviceRemovalCallback(IntPtr inIOHIDManagerRef, HIDInput.NativeMethods.IOHIDDeviceCallback inIOHIDDeviceCallback, IntPtr inContext);