Ignore:
File:
1 edited

Legend:

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

    rbd2394b r31cfee16  
    300300        usb_hid_report_path_set_report_id(path, 1);
    301301       
    302         lgtch_dev->key_count = usb_hid_report_size(hid_dev->report, 1,
    303                 USB_HID_REPORT_TYPE_INPUT);
    304        
     302        lgtch_dev->key_count = usb_hid_report_input_length(
     303            hid_dev->report, path,
     304            USB_HID_PATH_COMPARE_END | USB_HID_PATH_COMPARE_USAGE_PAGE_ONLY);
    305305        usb_hid_report_path_free(path);
    306306       
Note: See TracChangeset for help on using the changeset viewer.