hidd_button_t

HID button

Synopsis:

#include <sys/hiddi.h>

typedef struct hidd_button {
    _Uint16t usage_page;
    _Uint16t usage;
} hidd_button_t;

Description:

Defines a button in terms of usage page and usage.

The members include:

usage_page

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

usage

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

Page updated: