Changeset bda06a3 in mainline for uspace/lib/usb/include


Ignore:
Timestamp:
2011-04-01T15:02:09Z (14 years ago)
Author:
Matej Klonfar <maklf@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a9974ef, ec6bee4
Parents:
70a71e5
Message:

Report IDs support

File:
1 edited

Legend:

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

    r70a71e5 rbda06a3  
    8888        /** */ 
    8989        int depth;     
     90        uint8_t report_id;
    9091       
    9192        /** */ 
     
    155156        /** */ 
    156157        link_t feature;
     158       
     159        int use_report_id;
     160       
    157161} usb_hid_report_parser_t;     
    158162
     
    166170         * @param arg Custom argument.
    167171         */
    168         void (*keyboard)(const uint8_t *key_codes, size_t count, const uint8_t modifiers, void *arg);
     172        void (*keyboard)(const uint8_t *key_codes, size_t count, const uint8_t report_id, void *arg);
    169173} usb_hid_report_in_callbacks_t;
    170174
     
    269273
    270274/** */
     275int usb_hid_report_path_set_report_id(usb_hid_report_path_t *usage_path, uint8_t report_id);
     276
     277/** */
    271278int usb_hid_report_path_append_item(usb_hid_report_path_t *usage_path, int32_t usage_page, int32_t usage);
    272279
Note: See TracChangeset for help on using the changeset viewer.