ADC Home > Reference Library > Reference > Hardware & Drivers > I/O Kit Framework Reference
|
IOHIDBase.h |
Includes: |
Use the links in the table of contents to the left to access the documentation.
IOHIDCallback |
typedef void ( *IOHIDCallback)( void *context, IOReturn result, void *sender);
target
void * pointer to your data, often a pointer to an object.
result
Completion result of desired operation.
refcon
void * pointer to more data.
sender
Interface instance sending the completion routine.
Type and arguments of callout C function that is used when a completion routine is called.
IOHIDDeviceCallback |
typedef void ( *IOHIDDeviceCallback) ( void *context, IOReturn result, void *sender, IOHIDDeviceRef device);
context
void * pointer to more data.
result
Completion result of desired operation.
device
IOHIDDeviceRef containing the sending device.
Type and arguments of callout C function that is used when a device routine is called.
IOHIDDeviceRef |
typedef struct __IOHIDDevice * IOHIDDeviceRef;
This is the type of a reference to the IOHIDDevice.
IOHIDElementRef |
typedef struct __IOHIDElement * IOHIDElementRef;
This is the type of a reference to the IOHIDElement.
IOHIDReportCallback |
typedef void ( *IOHIDReportCallback) ( void *context, IOReturn result, void *sender, IOHIDReportType type, uint32_t reportID, uint8_t *report, CFIndex reportLength);
target
void * pointer to your data, often a pointer to an object.
result
Completion result of desired operation.
refcon
void * pointer to more data.
sender
Interface instance sending the completion routine.
type
The type of the report that was completed.
reportID
The ID of the report that was completed.
report
Pointer to the buffer containing the contents of the report.
reportLength
Size of the buffer received upon completion.
Type and arguments of callout C function that is used when a HID report completion routine is called.
IOHIDTransactionDirectionType |
Direction for an IOHIDDeviceTransactionInterface.
See Also:typedef uint32_t IOHIDTransactionDirectionType;
kIOHIDTransactionDirectionTypeInput
Transaction direction used for requesting element values from a device.
kIOHIDTransactionDirectionTypeOutput
Transaction direction used for dispatching element values to a device.
IOHIDValueCallback |
typedef void ( *IOHIDValueCallback) ( void *context, IOReturn result, void *sender, IOHIDValueRef value);
context
void * pointer to more data.
result
Completion result of desired operation.
sender
Interface instance sending the completion routine.
value
IOHIDValueRef containing the returned element value.
Type and arguments of callout C function that is used when an element value completion routine is called.
IOHIDValueMultipleCallback |
typedef void ( *IOHIDValueMultipleCallback) ( void *context, IOReturn result, void *sender, CFDictionaryRef multiple);
context
void * pointer to more data.
result
Completion result of desired operation.
sender
Interface instance sending the completion routine.
multiple
CFDictionaryRef containing the returned element key value pairs.
Type and arguments of callout C function that is used when an element value completion routine is called.
IOHIDValueRef |
typedef struct __IOHIDValue * IOHIDValueRef;
This is the type of a reference to the IOHIDValue.
IOHIDValueScaleType |
Describes different types of scaling that can be performed on element values.
See Also:typedef uint32_t IOHIDValueScaleType;
kIOHIDValueScaleTypeCalibrated
Type for value that is scaled with respect to the calibration properties.
kIOHIDValueScaleTypePhysical
Type for value that is scaled with respect to the physical min and physical max of the element.
IOHIDTransactionDirectionType |
Direction for an IOHIDDeviceTransactionInterface.
See Also:enum { kIOHIDTransactionDirectionTypeInput, kIOHIDTransactionDirectionTypeOutput };
IOHIDTransactionOption |
Options to be used in conjuntion with an IOHIDDeviceTransactionInterface.
enum { kIOHIDTransactionOptionDefaultOutputValue = 0x0001 };
kIOHIDTransactionOptionDefaultOutputValue
Option to set the default element value to be used with an IOHIDDeviceTransactionInterface of direction kIOHIDTransactionDirectionTypeOutput.
IOHIDValueScaleType |
Describes different types of scaling that can be performed on element values.
See Also:enum { kIOHIDValueScaleTypeCalibrated, kIOHIDValueScaleTypePhysical };
|
Last Updated: 2009-02-23