Exemple #1
0
 extern static void IOHIDDeviceRegisterInputReportCallback(
     IOHIDDeviceRef device,
     [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)]
     uint8_t[]                       report,
     CFIndex reportLength,
     IOHIDReportCallback callback,
     IntPtr context);
 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;
Exemple #3
0
 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);
		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;
		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;
 public static extern void IOHIDDeviceRegisterInputReportCallback(IntPtr device, IntPtr report, IntPtr reportLength,
                                                                  IOHIDReportCallback callback, IntPtr context);
Exemple #7
0
 extern static void IOHIDManagerRegisterInputReportCallback(
     IOHIDManagerRef manager,
     IOHIDReportCallback callback,
     IntPtr context);
Exemple #8
0
 public static extern void IOHIDDeviceRegisterInputReportCallback(IntPtr device, IntPtr report, IntPtr reportLength,
                                                                  IOHIDReportCallback callback, IntPtr context);
Exemple #9
0
		extern static void IOHIDManagerRegisterInputReportCallback( 
		                                    IOHIDManagerRef             manager,
		                                    IOHIDReportCallback         callback,
		                                    IntPtr                      context);
 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;
Exemple #11
0
        internal static extern IOReturn IOHIDDeviceSetReportWithCallback(
			IOHIDDeviceRef device,
			IOHIDReportType reportType,
			int reportID,
			IntPtr report,
			int reportLength,
			CFTimeInterval timeout,
			IOHIDReportCallback callback,
			IntPtr context);
Exemple #12
0
		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);
Exemple #13
0
		extern static void IOHIDDeviceRegisterInputReportCallback ( 
			IOHIDDeviceRef                  device,
			[MarshalAs (UnmanagedType.LPArray, SizeParamIndex = 2)]
			uint8_t[]                       report, 
			CFIndex                         reportLength,
			IOHIDReportCallback             callback, 
			IntPtr                          context);