Changeset cf2ccd4 in mainline for uspace/drv/usbhid/lgtch-ultrax/lgtch-ultrax.c
- Timestamp:
- 2011-04-22T09:26:50Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7304663
- Parents:
- 1553cbf (diff), 1775ebc (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhid/lgtch-ultrax/lgtch-ultrax.c
r1553cbf rcf2ccd4 83 83 84 84 uint8_t report_id; 85 int rc = usb_hid_parse_report(hid_dev->parser, buffer, buffer_size, &report_id); 85 86 int rc = usb_hid_parse_report(hid_dev->report, buffer, buffer_size, 87 &report_id); 86 88 usb_hid_report_path_set_report_id(path, report_id); 87 89 88 usb_hid_report_field_t *field = usb_hid_report_get_sibling(hid_dev->parser, NULL, path, USB_HID_PATH_COMPARE_END , USB_HID_REPORT_TYPE_INPUT); 89 while(field != NULL) { 90 usb_log_debug("KEY VALUE(%X) USAGE(%X)\n", field->value, field->usage); 90 usb_hid_report_field_t *field = usb_hid_report_get_sibling( 91 hid_dev->report, NULL, path, USB_HID_PATH_COMPARE_END , 92 USB_HID_REPORT_TYPE_INPUT); 93 94 while (field != NULL) { 95 usb_log_debug(NAME " KEY VALUE(%X) USAGE(%X)\n", field->value, 96 field->usage); 91 97 } 92 98 … … 95 101 96 102 if (rc != EOK) { 97 usb_log_warning( "Error in usb_hid_boot_keyboard_input_report():"103 usb_log_warning(NAME "Error in usb_hid_boot_keyboard_input_report():" 98 104 "%s\n", str_error(rc)); 99 105 }
Note:
See TracChangeset
for help on using the changeset viewer.