Changeset 73301a0 in mainline for uspace/lib/usbvirt/ctrlpipe.c


Ignore:
Timestamp:
2010-10-15T12:57:35Z (15 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
47e3a8e
Parents:
cbc00a4d
Message:

Virtual USB keyboard sends its report

Also, the virtual USB framework now handles the standard requests
differently. First, all requests has standalone callbacks and the
user callbacks are always called first. If they return EFORWARD,
the framework will try to satisfy the request by itself.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbvirt/ctrlpipe.c

    rcbc00a4d r73301a0  
    6868                        break;
    6969                case REQUEST_TYPE_CLASS:
    70                         if (DEVICE_HAS_OP(device, on_devreq_class)) {
    71                                 return device->ops->on_devreq_class(device,
     70                        if (DEVICE_HAS_OP(device, on_class_device_request)) {
     71                                return device->ops->on_class_device_request(device,
    7272                                    request, remaining_data);
    7373                        }
Note: See TracChangeset for help on using the changeset viewer.