Changeset 494eaf7 in mainline for uspace/drv/usbhid/kbddev.h
- Timestamp:
- 2011-03-01T16:43:05Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ac8285d
- Parents:
- cc44f7e (diff), 1c6c4092 (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/drv/usbhid/kbddev.h
rcc44f7e r494eaf7 31 31 */ 32 32 /** @file 33 * Common definitions.33 * USB HID keyboard device structure and API. 34 34 */ 35 35 36 #ifndef USBHID_ HID_H_37 #define USBHID_ HID_H_36 #ifndef USBHID_KBDDEV_H_ 37 #define USBHID_KBDDEV_H_ 38 38 39 39 #include <stdint.h> … … 43 43 #include <usb/pipes.h> 44 44 45 #include "hiddev.h" 46 47 /*----------------------------------------------------------------------------*/ 48 45 49 /** 46 50 * @brief USB/HID keyboard device type. 47 *48 * Quite dummy right now.49 51 */ 50 52 typedef struct { 51 ddf_dev_t *device; 52 53 usb_device_connection_t wire; 54 usb_endpoint_pipe_t ctrl_pipe; 55 usb_endpoint_pipe_t poll_pipe; 56 57 uint16_t iface; 58 59 uint8_t *report_desc; 60 usb_hid_report_parser_t *parser; 53 usbhid_dev_t *hid_dev; 61 54 62 55 uint8_t *keycodes; … … 66 59 unsigned mods; 67 60 unsigned lock_keys; 68 } usb_hid_dev_kbd_t; 61 62 int console_phone; 63 64 int initialized; 65 } usbhid_kbd_t; 69 66 70 #endif 67 /*----------------------------------------------------------------------------*/ 68 69 int usbhid_kbd_try_add_device(ddf_dev_t *dev); 70 71 #endif /* USBHID_KBDDEV_H_ */ 72 73 /** 74 * @} 75 */
Note:
See TracChangeset
for help on using the changeset viewer.