hidd_collection_usage()

Get a collections usage

Synopsis:

#include <sys/hiddi.h>

int hidd_collection_usage( struct hidd_collection *collection,
                           _Uint16t *usage_page,
                           _Uint16t *usage );

Arguments:

collection
The handle of the collection, as returned by hidd_get_collections() or by hidd_report_collection().
usage_page

The usage page of a collection (refer to the HID spec and HID usage tables).

usage
The usage of a collection (refer to the HID spec and HID usage tables).

Description:

The hidd_collection_usage() function gets the usage and usage page of a collection.

Returns:

EOK
Success.
EINVAL
One of the arguments is NULL.

Classification:

QNX OS

Safety:
Cancellation point Yes
Signal handler No
Thread Yes
Page updated: