|
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);
targetvoid * pointer to your data, often a pointer to an object.
resultCompletion result of desired operation.
refconvoid * pointer to more data.
senderInterface 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);
contextvoid * pointer to more data.
resultCompletion result of desired operation.
deviceIOHIDDeviceRef 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);
targetvoid * pointer to your data, often a pointer to an object.
resultCompletion result of desired operation.
refconvoid * pointer to more data.
senderInterface instance sending the completion routine.
typeThe type of the report that was completed.
reportIDThe ID of the report that was completed.
reportPointer to the buffer containing the contents of the report.
reportLengthSize 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;
kIOHIDTransactionDirectionTypeInputTransaction direction used for requesting element values from a device.
kIOHIDTransactionDirectionTypeOutputTransaction direction used for dispatching element values to a device.
IOHIDValueCallback |
typedef void ( *IOHIDValueCallback) ( void *context, IOReturn result, void *sender, IOHIDValueRef value);
contextvoid * pointer to more data.
resultCompletion result of desired operation.
senderInterface instance sending the completion routine.
valueIOHIDValueRef 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);
contextvoid * pointer to more data.
resultCompletion result of desired operation.
senderInterface instance sending the completion routine.
multipleCFDictionaryRef 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;
kIOHIDValueScaleTypeCalibratedType for value that is scaled with respect to the calibration properties.
kIOHIDValueScaleTypePhysicalType 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 };
kIOHIDTransactionOptionDefaultOutputValueOption 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