Changeset fd17ab5 in mainline for uspace/lib/usb/hid.h


Ignore:
Timestamp:
2010-10-13T06:42:53Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2c381250
Parents:
2b887bf7
Message:

libusb: base types in separate file

Base USB types (address, protocol type etc.) are now in separate file usb.h.

Also added HID protocol type enum to hid.h.

File:
1 edited

Legend:

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

    r2b887bf7 rfd17ab5  
    4747} usb_hid_request_t;
    4848
     49/** USB/HID interface protocols. */
     50typedef enum {
     51        USB_HID_PROTOCOL_NONE = 0,
     52        USB_HID_PROTOCOL_KEYBOARD = 1,
     53        USB_HID_PROTOCOL_MOUSE = 2
     54} usb_hid_protocol_t;
    4955
    5056#endif
Note: See TracChangeset for help on using the changeset viewer.