Changeset 8357fc9 in mainline for uspace/lib/usbhid


Ignore:
Timestamp:
2011-05-30T14:07:57Z (14 years ago)
Author:
Matej Klonfar <maklf@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b9e3aa3, f9a627a
Parents:
118d38d (diff), dcb7d7cd (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

MS mouse works

Location:
uspace/lib/usbhid/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhid/src/hiddescriptor.c

    r118d38d r8357fc9  
    336336                                usb_hid_report_description_t, link);
    337337
    338                 if((report_des->report_id == report_id) &&
     338                // if report id not set, return the first of the type
     339                if(((report_des->report_id == report_id) || (report_id == 0)) &&
    339340                   (report_des->type == type)) {
    340341                        return report_des;
  • uspace/lib/usbhid/src/hidpath.c

    r118d38d r8357fc9  
    211211
    212212        if(report_path->report_id != path->report_id) {
    213                 return 1;
     213                if(path->report_id != 0) {
     214                        return 1;
     215                }
    214216        }
    215217
Note: See TracChangeset for help on using the changeset viewer.