ADC Home > Reference Library > Reference > Darwin > Kernel Framework Reference

 


IOHIDDevice.h

Includes:

Overview



Classes

IOHIDDevice

IOHIDDevice defines a Human Interface Device (HID) object, which will interact with the HID Manager by publishing static properties in the I/O Registry, and also by reporting HID events through shared memory.



Typedefs


IOHIDCompletion


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

typedef struct IOHIDCompletion { 
    void *target; 
    IOHIDCompletionAction action; 
    void *parameter; 
} IOHIDCompletion;  
Fields
target

The target to pass to the action function.

action

The function to call.

parameter

The parameter to pass to the action function.


IOHIDCompletionAction


Function called when set/get report completes

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

The target specified in the IOHIDCompletion struct.

parameter

The parameter specified in the IOHIDCompletion struct.

status

Completion status

Enumerations


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.


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.

 

Last Updated: 2008-12-19