Changeset 882f8b1 in mainline for uspace/lib/usb/include/usb/request.h

Timestamp:
2011-02-27T00:07:24Z (13 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c2fa801
Parents:
ad4562c2
Message:

Major changes to usbhid driver.

  • Changed structure usb_hid_dev_kbd_t
    • removed information parsed from descriptors (not needed anymore)
    • active mods and lock keys stored in it
  • Getting interface number assigned to my device.
  • Removed parsing of all descriptors.
  • Removed setting of configuration.
  • Fixed setting of protocol to the device (uses the assigned interface number).
  • Fixed LED setting
    • output buffer should have size 1
    • report type is in higher byte of wValue
    • using assigned interface number
  • Setting of default LEDs.
  • Completely rewritten function for getting report descriptor (usbkbd_get_report_descriptor())
    • now uses usb_dp_parser to find HID descriptor
    • then gets the report descriptor from the device
    • report descriptor is saved in the usb_hid_dev_kbd_t structure.
(No files)

Note: See TracChangeset for help on using the changeset viewer.