Instance Property

create

Creates the current queue.

Declaration

IOReturn (*create)(void *self, uint32_t flags, uint32_t depth);

Parameters

flags

Pass kIOHIDQueueOptionsTypeEnqueueAll option to force the IOHIDQueue to enqueue all events, relative or absolute, regardless of change.

depth

The maximum number of elements in the queue before the oldest elements in the queue begin to be lost.

Return Value

Returns an IOReturn code.