Changeset 2391aaf in mainline for uspace/drv/usbhid/descdump.h


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

Huge refactoring of USB HID driver.

  • Created generic USB HID device structure and API (hiddev.h/c).
    • The structure holds data common for all HID devices.
    • Functions for creating the structure, and initializing based on given endpoint description.
    • Processing of descriptors, initializing of pipes moved here.
  • Modified USB HID keyboard device structure (kbddev.h/c).
    • This structure now holds only keyboard-specific data.
    • API provides function for adding device of type keyboard.
    • All keyboard-related functions moved here. These include:
      • IPC handler
      • Key and modifier processing functions
      • Polling
      • Creating new fibril for polling.
  • Separated USB HID class-specific request functions (hidreq.h/c)
  • Removed unused code from scancode parser (conv.c)

WARNING: not compileable due to a strange error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhid/descdump.h

    rc2fa801 r2391aaf  
    3737#define USBHID_DESCDUMP_H_
    3838
    39 #include "hid.h"
     39#include <usb/descriptor.h>
     40#include <usb/classes/hid.h>
    4041
    4142void dump_standard_configuration_descriptor(
Note: See TracChangeset for help on using the changeset viewer.