Ignore:
File:
1 edited

Legend:

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

    r85fa1e1 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.