Changeset 1c6c4092 in mainline for uspace/drv/usbhid/main.c


Ignore:
Timestamp:
2011-03-01T16:39:31Z (14 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0f31e2b, 494eaf7
Parents:
27270db
Message:

Properly destroying HID and KBD device structures.

+ Do not send LOCK keys to console.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhid/main.c

    r27270db r1c6c4092  
    4040#include <errno.h>
    4141
    42 //#include <ipc/driver.h>
    43 //#include <ipc/kbd.h>
    44 //#include <io/keycode.h>
    45 //#include <io/console.h>
    46 //#include <str_error.h>
    47 
    48 //#include <usb/classes/classes.h>
    49 //#include <usb/classes/hid.h>
    50 //#include <usb/classes/hidparser.h>
    51 //#include <usb/request.h>
    52 //#include <usb/descriptor.h>
    53 //#include <io/console.h>
    54 //#include <stdint.h>
    55 //#include <usb/dp.h>
    56 
    5742#include "kbddev.h"
    5843
     
    6550static int usbhid_add_device(ddf_dev_t *dev)
    6651{
     52        usb_log_debug("usbhid_add_device()\n");
     53       
    6754        int rc = usbhid_kbd_try_add_device(dev);
    6855       
Note: See TracChangeset for help on using the changeset viewer.