コード例 #1
0
 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;
 }
コード例 #2
0
 public static int IOCreatePlugInInterfaceForService(
     io_object_t ioDeviceObj,
     CFUUIDRef kIOUSBDeviceUserClientTypeID2,
     CFUUIDRef kIOCFPlugInInterfaceID2,
     Memory ioPlugin,
     int[] score) {
   return INSTANCE.IOCreatePlugInInterfaceForService(
       ioDeviceObj, kIOUSBDeviceUserClientTypeID2, kIOCFPlugInInterfaceID2, ioPlugin, score);
 }
コード例 #3
0
 public static void IOHIDDeviceRegisterInputReportCallback(
     IOHIDDeviceRef device,
     Pointer report,
     int reportLength,
     IOHIDReportCallback callback,
     Pointer context) {
   INSTANCE.IOHIDDeviceRegisterInputReportCallback(
       device, report, new NativeLong(reportLength), callback, context);
 }
コード例 #4
0
 public static void IOHIDDeviceUnscheduleFromRunLoop(
     IOHIDDeviceRef device, CFRunLoopRef runLoop, CFStringRef runLoopMode) {
   INSTANCE.IOHIDDeviceUnscheduleFromRunLoop(device, runLoop, runLoopMode);
 }
コード例 #5
0
 public static int IOServiceGetMatchingServices(
     mach_port_t masterPort, CFMutableDictionaryRef matching, io_iterator_t[] iterator) {
   return INSTANCE.IOServiceGetMatchingServices(masterPort, matching, iterator);
 }
コード例 #6
0
 public static CFTypeRef IOHIDElementGetProperty(IOHIDElementRef element, CFStringRef key) {
   return INSTANCE.IOHIDElementGetProperty(element, key);
 }
コード例 #7
0
 public static int IOHIDElementGetCookie(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementGetCookie(element);
 }
コード例 #8
0
 public static IOHIDElementRef IOHIDElementGetParent(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementGetParent(element);
 }
コード例 #9
0
 public static boolean IOHIDElementHasNullState(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementHasNullState(element);
 }
コード例 #10
0
 public static CFStringRef IOHIDElementGetName(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementGetName(element);
 }
コード例 #11
0
 public static int IOHIDElementGetUsagePage(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementGetUsagePage(element);
 }
コード例 #12
0
 public static CFArrayRef IOHIDDeviceCopyMatchingElements(
     IOHIDDeviceRef inIOHIDDeviceRef, CFDictionaryRef inMatchingCFDictRef, int inOptions) {
   return INSTANCE.IOHIDDeviceCopyMatchingElements(
       inIOHIDDeviceRef, inMatchingCFDictRef, inOptions);
 }
コード例 #13
0
 public static int IOHIDManagerClose(IOHIDManagerRef manager, int options) {
   return INSTANCE.IOHIDManagerClose(manager, options);
 }
コード例 #14
0
 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));
 }
コード例 #15
0
 public static int IOHIDDeviceClose(IOHIDDeviceRef device, int options) {
   return INSTANCE.IOHIDDeviceClose(device, options);
 }
コード例 #16
0
 public static boolean IOHIDElementIsArray(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementIsArray(element);
 }
コード例 #17
0
 public static boolean IOHIDElementIsNonLinear(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementIsNonLinear(element);
 }
コード例 #18
0
 public static int IOHIDElementGetReportCount(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementGetReportCount(element);
 }
コード例 #19
0
 public static IOHIDDeviceRef IOHIDElementGetDevice(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementGetDevice(element);
 }
コード例 #20
0
 public static int IOHIDElementGetUnitExponent(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementGetUnitExponent(element);
 }
コード例 #21
0
 public static CFArrayRef IOHIDElementGetChildren(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementGetChildren(element);
 }
コード例 #22
0
 public static int IOHIDElementGetLogicalMin(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementGetLogicalMin(element);
 }
コード例 #23
0
 public static int IOHIDElementGetCollectionType(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementGetCollectionType(element);
 }
コード例 #24
0
 public static int IOHIDElementGetPhysicalMax(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementGetPhysicalMax(element);
 }
コード例 #25
0
 public static CFMutableDictionaryRef IOServiceMatching(String name) {
   return INSTANCE.IOServiceMatching(name);
 }
コード例 #26
0
 public static boolean IOHIDElementIsVirtual(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementIsVirtual(element);
 }
コード例 #27
0
 public static io_object_t IOIteratorNext(io_iterator_t iterator) {
   return INSTANCE.IOIteratorNext(iterator);
 }
コード例 #28
0
 public static boolean IOHIDElementIsRelative(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementIsRelative(element);
 }
コード例 #29
0
 public static int IOMasterPort(Pointer p, mach_port_t[] t) {
   return INSTANCE.IOMasterPort(p, t);
 }
コード例 #30
0
 public static boolean IOHIDElementIsWrapping(IOHIDElementRef element) {
   return INSTANCE.IOHIDElementIsWrapping(element);
 }