Changeset 9e195e2c in mainline for uspace/lib/usb/include/usb/host.h
- Timestamp:
- 2011-05-12T09:03:00Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d59d0bb
- Parents:
- 456aea3 (diff), c372e03 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/host.h
r456aea3 r9e195e2c 1 1 /* 2 * Copyright (c) 201 0Vojtech Horky2 * Copyright (c) 2011 Vojtech Horky 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup usbvirtkbd29 /** @addtogroup libusb 30 30 * @{ 31 31 */ 32 32 /** @file 33 * @brief USB keyboard descriptors.33 * Host controller common functions. 34 34 */ 35 #ifndef VUK_DESCRIPTOR_H_36 #define VUK_DESCRIPTOR_H_35 #ifndef LIBUSB_HOST_H_ 36 #define LIBUSB_HOST_H_ 37 37 38 typedef struct { 39 uint8_t length; 40 uint8_t type; 41 uint16_t hid_spec_release; 42 uint8_t country_code; 43 uint8_t descriptor_count; 44 uint8_t descriptor1_type; 45 uint16_t descriptor1_length; 46 } __attribute__ ((packed)) hid_descriptor_t; 38 #include <sys/types.h> 39 #include <ipc/devman.h> 40 41 int usb_ddf_get_hc_handle_by_class(size_t, devman_handle_t *); 47 42 48 43 #endif
Note:
See TracChangeset
for help on using the changeset viewer.