Changes in / [308a5d5:94c0dcbd] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/hidparser.c
r308a5d5 r94c0dcbd 175 175 if(report_item->usages_count > 0 && ((report_item->usage_minimum == 0) && (report_item->usage_maximum == 0))) { 176 176 uint32_t usage; 177 if(report_item->type == USB_HID_REPORT_TYPE_INPUT) {177 if(report_item->type != USB_HID_REPORT_TYPE_INPUT) { 178 178 if(i < report_item->usages_count){ 179 179 usage = report_item->usages[i]; … … 193 193 194 194 195 if((usage & 0xFF 00) != 0){195 if((usage & 0xFFFF0000) != 0){ 196 196 field->usage_page = (usage >> 16); 197 field->usage = (usage & 0xFF );197 field->usage = (usage & 0xFFFF); 198 198 } 199 199 else {
Note:
See TracChangeset
for help on using the changeset viewer.