public static int IOHIDDeviceGetReport(
     IOHIDDeviceRef device, int reportType, int reportID, ByteBuffer report, int[] pReportLength) {
   NativeLong[] t = {new NativeLong(pReportLength[0])};
   int res =
       INSTANCE.IOHIDDeviceGetReport(device, reportType, new NativeLong(reportID), report, t);
   pReportLength[0] = t[0].intValue();
   return res;
 }
 public static int IOCreatePlugInInterfaceForService(
     io_object_t ioDeviceObj,
     CFUUIDRef kIOUSBDeviceUserClientTypeID2,
     CFUUIDRef kIOCFPlugInInterfaceID2,
     Memory ioPlugin,
     int[] score) {
   return INSTANCE.IOCreatePlugInInterfaceForService(
       ioDeviceObj, kIOUSBDeviceUserClientTypeID2, kIOCFPlugInInterfaceID2, ioPlugin, score);
 }
 public static void IOHIDDeviceRegisterInputReportCallback(
     IOHIDDeviceRef device,
     Pointer report,
     int reportLength,
     IOHIDReportCallback callback,
     Pointer context) {
   INSTANCE.IOHIDDeviceRegisterInputReportCallback(
       device, report, new NativeLong(reportLength), callback, context);
 }
 public static void IOHIDDeviceUnscheduleFromRunLoop(
     IOHIDDeviceRef device, CFRunLoopRef runLoop, CFStringRef runLoopMode) {
   INSTANCE.IOHIDDeviceUnscheduleFromRunLoop(device, runLoop, runLoopMode);
 }
 public static int IOServiceGetMatchingServices(
     mach_port_t masterPort, CFMutableDictionaryRef matching, io_iterator_t[] iterator) {
   return INSTANCE.IOServiceGetMatchingServices(masterPort, matching, iterator);
 }
 public static CFTypeRef IOHIDElementGetProperty(IOHIDElementRef element, CFStringRef key) {
   return INSTANCE.IOHIDElementGetProperty(element, key);
 }
 public static int IOHIDElementGetCookie(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementGetCookie(element);
 }
 public static IOHIDElementRef IOHIDElementGetParent(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementGetParent(element);
 }
 public static boolean IOHIDElementHasNullState(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementHasNullState(element);
 }
 public static CFStringRef IOHIDElementGetName(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementGetName(element);
 }
 public static int IOHIDElementGetUsagePage(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementGetUsagePage(element);
 }
 public static CFArrayRef IOHIDDeviceCopyMatchingElements(
     IOHIDDeviceRef inIOHIDDeviceRef, CFDictionaryRef inMatchingCFDictRef, int inOptions) {
   return INSTANCE.IOHIDDeviceCopyMatchingElements(
       inIOHIDDeviceRef, inMatchingCFDictRef, inOptions);
 }
 public static int IOHIDManagerClose(IOHIDManagerRef manager, int options) {
   return INSTANCE.IOHIDManagerClose(manager, options);
 }
 public static int IOHIDDeviceSetReport(
     IOHIDDeviceRef device, int reportType, int reportID, ByteBuffer report, int pReportLength) {
   return INSTANCE.IOHIDDeviceSetReport(
       device, reportType, new NativeLong(reportID), report, new NativeLong(pReportLength));
 }
 public static int IOHIDDeviceClose(IOHIDDeviceRef device, int options) {
   return INSTANCE.IOHIDDeviceClose(device, options);
 }
 public static boolean IOHIDElementIsArray(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementIsArray(element);
 }
 public static boolean IOHIDElementIsNonLinear(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementIsNonLinear(element);
 }
 public static int IOHIDElementGetReportCount(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementGetReportCount(element);
 }
 public static IOHIDDeviceRef IOHIDElementGetDevice(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementGetDevice(element);
 }
 public static int IOHIDElementGetUnitExponent(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementGetUnitExponent(element);
 }
 public static CFArrayRef IOHIDElementGetChildren(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementGetChildren(element);
 }
 public static int IOHIDElementGetLogicalMin(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementGetLogicalMin(element);
 }
 public static int IOHIDElementGetCollectionType(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementGetCollectionType(element);
 }
 public static int IOHIDElementGetPhysicalMax(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementGetPhysicalMax(element);
 }
 public static CFMutableDictionaryRef IOServiceMatching(String name) {
   return INSTANCE.IOServiceMatching(name);
 }
 public static boolean IOHIDElementIsVirtual(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementIsVirtual(element);
 }
 public static io_object_t IOIteratorNext(io_iterator_t iterator) {
   return INSTANCE.IOIteratorNext(iterator);
 }
 public static boolean IOHIDElementIsRelative(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementIsRelative(element);
 }
 public static int IOMasterPort(Pointer p, mach_port_t[] t) {
   return INSTANCE.IOMasterPort(p, t);
 }
 public static boolean IOHIDElementIsWrapping(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementIsWrapping(element);
 }