Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhid/lgtch-ultrax/lgtch-ultrax.c

    rcfbbe1d3 re60436b  
    8181        usb_hid_report_path_t *path = usb_hid_report_path();
    8282        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);
    8386
    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);
     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);
    8988        while(field != NULL) {
    9089                usb_log_debug("KEY VALUE(%X) USAGE(%X)\n", field->value, field->usage);
Note: See TracChangeset for help on using the changeset viewer.