Ignore:
Timestamp:
2011-04-21T20:24:14Z (14 years ago)
Author:
Matej Klonfar <maklf@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c7c0984a
Parents:
e50cd7f
Message:

new hid report structure bug fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/include/usb/classes/hidparser.h

    re50cd7f rcfbbe1d3  
    119119
    120120        int use_report_ids;
     121        uint8_t last_report_id;
    121122       
    122123} usb_hid_report_t;
     
    279280 */
    280281/** */
    281 int usb_hid_parse_report(const usb_hid_report_t *report, const uint8_t *data, size_t size);
     282int usb_hid_parse_report(const usb_hid_report_t *report, const uint8_t *data, size_t size, uint8_t *report_id);
    282283
    283284/** */
     
    318319
    319320usb_hid_report_field_t *usb_hid_report_get_sibling(usb_hid_report_t *report, usb_hid_report_field_t *field, usb_hid_report_path_t *path, int flags, usb_hid_report_type_t type);
     321
     322uint8_t usb_hid_report_get_report_id(usb_hid_report_t *report, uint8_t report_id, usb_hid_report_type_t type);
     323
    320324
    321325/*
Note: See TracChangeset for help on using the changeset viewer.