Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset dd10e07 in mainline


Ignore:
Timestamp:
2011-04-08T07:04:30Z (11 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial
Children:
73ae3373
Parents:
7f2e33a
Message:

Renamed hidd to hiddev

Location:
uspace/drv/usbhid
Files:
3 edited
2 moved

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhid/Makefile

    r7f2e33a rdd10e07  
    4343        kbd/kbddev.c \
    4444        kbd/kbdrepeat.c \
    45         generic/hidd.c \
     45        generic/hiddev.c \
    4646        $(STOLEN_LAYOUT_SOURCES)
    4747
  • uspace/drv/usbhid/generic/hiddev.c

    r7f2e33a rdd10e07  
    3838#include <usb/classes/classes.h>
    3939
    40 #include "hidd.h"
     40#include "hiddev.h"
    4141
    4242/*----------------------------------------------------------------------------*/
  • uspace/drv/usbhid/usbhid.c

    r7f2e33a rdd10e07  
    4646
    4747#include "kbd/kbddev.h"
    48 #include "generic/hidd.h"
    49 
    50 /*----------------------------------------------------------------------------*/
    51 
    52 /** Generic HID device polling endpoint description. */
    53 //static usb_endpoint_description_t usb_hid_generic_poll_endpoint_description = {
    54 //      .transfer_type = USB_TRANSFER_INTERRUPT,
    55 //      .direction = USB_DIRECTION_IN,
    56 //      .interface_class = USB_CLASS_HID,
    57 //      .flags = 0
    58 //};
    59 
    60 ///** Keyboard polling endpoint description for boot protocol class. */
    61 //static usb_endpoint_description_t ush_hid_kbd_poll_endpoint_description = {
    62 //      .transfer_type = USB_TRANSFER_INTERRUPT,
    63 //      .direction = USB_DIRECTION_IN,
    64 //      .interface_class = USB_CLASS_HID,
    65 //      .interface_subclass = USB_HID_SUBCLASS_BOOT,
    66 //      .interface_protocol = USB_HID_PROTOCOL_KEYBOARD,
    67 //      .flags = 0
    68 //};
     48#include "generic/hiddev.h"
     49
     50/*----------------------------------------------------------------------------*/
    6951
    7052/** Mouse polling endpoint description for boot protocol class. */
  • uspace/drv/usbhid/usbhid.h

    r7f2e33a rdd10e07  
    3939#include <stdint.h>
    4040
    41 //#include <fibril_synch.h>
    42 
    43 //#include <usb/classes/hid.h>
    4441#include <usb/classes/hidparser.h>
    4542#include <ddf/driver.h>
     
    105102const char *usb_hid_get_class_name(usb_hid_iface_protocol_t device_type);
    106103
    107 /** @todo Maybe not needed in the API. */
    108104void usb_hid_free(usb_hid_dev_t **hid_dev);
    109105
Note: See TracChangeset for help on using the changeset viewer.