IOHIDDevice.h Reference

Declared in
IOHIDDevice.h

Overview

Included Headers

  • <IOKit/IOService.h>

  • <IOKit/IOMessage.h>

  • <IOKit/IOBufferMemoryDescriptor.h>

  • <IOKit/hidsystem/IOHIDDescriptorParser.h>

  • <IOKit/hid/IOHIDKeys.h>

Callbacks

See the Overview section above for header-level documentation.

IOHIDCompletionAction

Function called when set/get report completes

typedef void ( *IOHIDCompletionAction)(
   void *target,
   void *parameter,
   IOReturn status,
   UInt32 bufferSizeRemaining);

Parameters
target

The target specified in the IOHIDCompletion struct.

parameter

The parameter specified in the IOHIDCompletion struct.

status

Completion status

Availability
  • Available in OS X v10.2 and later.
Declared In
IOHIDDevice.h

Data Types

See the Overview section above for header-level documentation.

IOHIDCompletion

Struct spefifying action to perform when set/get report completes.

typedef struct IOHIDCompletion {
      void *target;
      IOHIDCompletionAction action;
      void *parameter;
} IOHIDCompletion;
Availability
  • Available in OS X v10.2 and later.
Declared In
IOHIDDevice.h

Constants

See the Overview section above for header-level documentation.

IOHIDReportOption

Option bits for IOHIDDevice::handleReport, IOHIDDevice::getReport, and IOHIDDevice::setReport

enum {
   kIOHIDReportOptionNotInterrupt = 0x100
};
Constants
kIOHIDReportOptionNotInterrupt

Tells method that the report passed was not interrupt driven.

Available in OS X v10.3 and later.

Declared in IOHIDDevice.h.