Changeset 252e30c in mainline for uspace/lib


Ignore:
Timestamp:
2011-03-24T22:55:29Z (14 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0d92638
Parents:
476b71ff
Message:

Huge refactoring of KBD driver code.

  • Separated code for retrieval of Report descriptor into hidreport.h/c (will be common for all HID drivers).
  • Removed unused files hiddev.h/c.
  • Changed prefix of usbkbd functions to usb_kbd_*.
  • Removed unused code.
  • Parsing of Report descriptor with fallback to boot protocol in KBD driver (not finished (boot report descriptor missing).
Location:
uspace/lib/usb
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/Makefile

    r476b71ff r252e30c  
    5151        src/usbdevice.c \
    5252        src/hidreq.c \
     53        src/hidreport.c \
    5354        src/host/device_keeper.c \
    5455        src/host/batch.c
  • uspace/lib/usb/include/usb/classes/hidreq.h

    r476b71ff r252e30c  
    2727 */
    2828
    29 /** @addtogroup drvusbhid
     29/** @addtogroup libusb
    3030 * @{
    3131 */
     
    3434 */
    3535
    36 #ifndef USBHID_HIDREQ_H_
    37 #define USBHID_HIDREQ_H_
     36#ifndef USB_KBD_HIDREQ_H_
     37#define USB_KBD_HIDREQ_H_
    3838
    3939#include <stdint.h>
     
    6363/*----------------------------------------------------------------------------*/
    6464
    65 #endif /* USBHID_HIDREQ_H_ */
     65#endif /* USB_KBD_HIDREQ_H_ */
    6666
    6767/**
Note: See TracChangeset for help on using the changeset viewer.