Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhid/hiddev.h

    rf6d0c7c r24d943f  
    4848
    4949/**
    50  * USB/HID device type.
    51  *
    52  * Holds a reference to DDF device structure, and HID-specific data, such
    53  * as information about used pipes (one Control pipe and one Interrupt In pipe),
    54  * polling interval, assigned interface number, Report descriptor and a
    55  * reference to the Report parser used to parse incoming reports and composing
    56  * outgoing reports.
     50 * @brief USB/HID device type.
    5751 */
    5852typedef struct {
    59         /** DDF device representing the controlled HID device. */
    6053        ddf_dev_t *device;
    6154
    62         /** Physical connection to the device. */
    6355        usb_device_connection_t wire;
    64         /** USB pipe corresponding to the default Control endpoint. */
    6556        usb_endpoint_pipe_t ctrl_pipe;
    66         /** USB pipe corresponding to the Interrupt In (polling) pipe. */
    6757        usb_endpoint_pipe_t poll_pipe;
    6858       
    69         /** Polling interval retreived from the Interface descriptor. */
    7059        short poll_interval;
    7160       
    72         /** Interface number assigned to this device. */
    7361        uint16_t iface;
    7462       
    75         /** Report descriptor. */
    7663        uint8_t *report_desc;
    77         /** HID Report parser. */
    7864        usb_hid_report_parser_t *parser;
    7965       
    80         /** State of the structure (for checking before use). */
    8166        int initialized;
    8267} usbhid_dev_t;
Note: See TracChangeset for help on using the changeset viewer.