Ignore:
Timestamp:
2010-11-26T15:25:52Z (13 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bbc28be
Parents:
03171de
Message:

Outlined some basic keyboard handling functions.

USB kbd driver now starts one fibril for each added device.
Initialization of kbd device outlined.
Added type usb_hid_dev_kbd_t.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/include/usb/classes/hid.h

    r03171de r2e15ac40  
    3636#define LIBUSB_HID_H_
    3737
     38#include <usb/usb.h>
     39#include <driver.h>
     40
    3841/** USB/HID device requests. */
    3942typedef enum {
     
    5457} usb_hid_protocol_t;
    5558
     59/**
     60 * @brief USB/HID keyboard device type.
     61 *
     62 * Quite dummy right now.
     63 */
     64typedef struct {
     65        device_t *device;
     66        usb_address_t address;
     67        usb_endpoint_t default_ep;
     68} usb_hid_dev_kbd_t;
     69
    5670#endif
    5771/**
Note: See TracChangeset for help on using the changeset viewer.