コード例 #1
0
ファイル: IOHIDDevice.cs プロジェクト: NikoXu/maccore
 extern static void IOHIDDeviceRegisterInputReportCallback(
     IOHIDDeviceRef device,
     [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)]
     uint8_t[]                       report,
     CFIndex reportLength,
     IOHIDReportCallback callback,
     IntPtr context);
コード例 #2
0
 internal static extern IOReturn IOHIDDeviceSetReportWithCallback(
     IOHIDDeviceRef device,
     IOHIDReportType reportType,
     int reportID,
     IntPtr report,
     int reportLength,
     CFTimeInterval timeout,
     IOHIDReportCallback callback,
     IntPtr context);             //AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
コード例 #3
0
ファイル: IOHIDDevice.cs プロジェクト: NikoXu/maccore
 extern static IOReturn IOHIDDeviceGetReportWithCallback(
     IOHIDDeviceRef device,
     IOHIDReportType reportType,
     CFIndex reportID,
     [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 4)]
     uint8_t[]                       report,
     ref CFIndex pReportLength,
     CFTimeInterval timeout,
     IOHIDReportCallback callback,
     IntPtr context);
コード例 #4
0
		public static extern void IOHIDDeviceRegisterInputReportCallback(
			IOHIDDeviceRef device, // IOHIDDeviceRef for the HID device
			IntPtr report,  // pointer to the report data ( uint8_t's )
			int reportLength,// number of bytes in the report ( CFIndex )
			IOHIDReportCallback callback, // the callback routine
			IntPtr context); //AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
コード例 #5
0
		internal static extern IOReturn IOHIDDeviceSetReportWithCallback(
			IOHIDDeviceRef device,
			IOHIDReportType reportType,
			int reportID,
			IntPtr report,
			int reportLength,
			CFTimeInterval timeout,
			IOHIDReportCallback callback,
			IntPtr context) ;//AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
コード例 #6
0
 public static extern void IOHIDDeviceRegisterInputReportCallback(IntPtr device, IntPtr report, IntPtr reportLength,
                                                                  IOHIDReportCallback callback, IntPtr context);
コード例 #7
0
 extern static void IOHIDManagerRegisterInputReportCallback(
     IOHIDManagerRef manager,
     IOHIDReportCallback callback,
     IntPtr context);
コード例 #8
0
ファイル: NativeMethods.cs プロジェクト: Nielk1/HIDSharp
 public static extern void IOHIDDeviceRegisterInputReportCallback(IntPtr device, IntPtr report, IntPtr reportLength,
                                                                  IOHIDReportCallback callback, IntPtr context);
コード例 #9
0
ファイル: IOHIDManager.cs プロジェクト: polipo/maccore
		extern static void IOHIDManagerRegisterInputReportCallback( 
		                                    IOHIDManagerRef             manager,
		                                    IOHIDReportCallback         callback,
		                                    IntPtr                      context);
コード例 #10
0
 public static extern void IOHIDDeviceRegisterInputReportCallback(
     IOHIDDeviceRef device,        // IOHIDDeviceRef for the HID device
     IntPtr report,                // pointer to the report data ( uint8_t's )
     int reportLength,             // number of bytes in the report ( CFIndex )
     IOHIDReportCallback callback, // the callback routine
     IntPtr context);              //AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER;
コード例 #11
0
ファイル: Native.cs プロジェクト: Driky/Unity3d-InputMapper
        internal static extern IOReturn IOHIDDeviceSetReportWithCallback(
			IOHIDDeviceRef device,
			IOHIDReportType reportType,
			int reportID,
			IntPtr report,
			int reportLength,
			CFTimeInterval timeout,
			IOHIDReportCallback callback,
			IntPtr context);
コード例 #12
0
ファイル: IOHIDDevice.cs プロジェクト: polipo/maccore
		extern static IOReturn IOHIDDeviceGetReportWithCallback (
			    IOHIDDeviceRef                  device,
			    IOHIDReportType                 reportType,
			    CFIndex                         reportID,
			    [MarshalAs (UnmanagedType.LPArray, SizeParamIndex = 4)]
			    uint8_t[]                       report,
			ref CFIndex                         pReportLength,
			    CFTimeInterval                  timeout,
			    IOHIDReportCallback             callback,
			    IntPtr                          context);
コード例 #13
0
ファイル: IOHIDDevice.cs プロジェクト: polipo/maccore
		extern static void IOHIDDeviceRegisterInputReportCallback ( 
			IOHIDDeviceRef                  device,
			[MarshalAs (UnmanagedType.LPArray, SizeParamIndex = 2)]
			uint8_t[]                       report, 
			CFIndex                         reportLength,
			IOHIDReportCallback             callback, 
			IntPtr                          context);