Ignore:
Timestamp:
2011-04-21T19:58:20Z (13 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
36f737a
Parents:
3bcac68
Message:

Properly ported HID driver and KBD subdriver to the new parser API.

File:
1 edited

Legend:

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

    r3bcac68 re60436b  
    8383        usb_hid_report_path_set_report_id(path, 0);
    8484       
    85         int rc = usb_hid_parse_report(hid_dev->parser, buffer, buffer_size);
     85        int rc = usb_hid_parse_report(hid_dev->report, buffer, buffer_size);
    8686
    87         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);
    8888        while(field != NULL) {
    8989                usb_log_debug("KEY VALUE(%X) USAGE(%X)\n", field->value, field->usage);
Note: See TracChangeset for help on using the changeset viewer.