Changes in uspace/drv/usbhid/lgtch-ultrax/lgtch-ultrax.c [e60436b:cfbbe1d3] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhid/lgtch-ultrax/lgtch-ultrax.c
re60436b rcfbbe1d3 81 81 usb_hid_report_path_t *path = usb_hid_report_path(); 82 82 usb_hid_report_path_append_item(path, 0xc, 0); 83 usb_hid_report_path_set_report_id(path, 0);84 85 int rc = usb_hid_parse_report(hid_dev->report, buffer, buffer_size);86 83 87 usb_hid_report_field_t *field = usb_hid_report_get_sibling(hid_dev->report, NULL, path, USB_HID_PATH_COMPARE_END , USB_HID_REPORT_TYPE_INPUT); 84 uint8_t report_id; 85 int rc = usb_hid_parse_report(hid_dev->parser, buffer, buffer_size, &report_id); 86 usb_hid_report_path_set_report_id(path, report_id); 87 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); 88 89 while(field != NULL) { 89 90 usb_log_debug("KEY VALUE(%X) USAGE(%X)\n", field->value, field->usage);
Note:
See TracChangeset
for help on using the changeset viewer.