Changeset ba358ed in mainline
- Timestamp:
- 2011-04-10T15:35:28Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 62bd8d3
- Parents:
- 60c0573
- Location:
- uspace/drv/usbhid
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhid/generic/hiddev.h
r60c0573 rba358ed 34 34 */ 35 35 36 #ifndef USB_HID DDEV_H_37 #define USB_HID DDEV_H_36 #ifndef USB_HID_HIDDDEV_H_ 37 #define USB_HID_HIDDDEV_H_ 38 38 39 39 #include <usb/devdrv.h> … … 49 49 uint8_t *buffer, size_t buffer_size); 50 50 51 #endif // USB_HID DDEV_H_51 #endif // USB_HID_HIDDDEV_H_ 52 52 53 53 /** -
uspace/drv/usbhid/kbd/conv.h
r60c0573 rba358ed 34 34 */ 35 35 36 #ifndef USB_ KBD_CONV_H_37 #define USB_ KBD_CONV_H_36 #ifndef USB_HID_CONV_H_ 37 #define USB_HID_CONV_H_ 38 38 39 39 unsigned int usbhid_parse_scancode(int scancode); 40 40 41 #endif /* USB_ KBD_CONV_H_ */41 #endif /* USB_HID_CONV_H_ */ 42 42 43 43 /** -
uspace/drv/usbhid/kbd/kbddev.h
r60c0573 rba358ed 34 34 */ 35 35 36 #ifndef USB_ KBDDEV_H_37 #define USB_ KBDDEV_H_36 #ifndef USB_HID_KBDDEV_H_ 37 #define USB_HID_KBDDEV_H_ 38 38 39 39 #include <stdint.h> … … 133 133 int usb_kbd_set_boot_protocol(struct usb_hid_dev *hid_dev); 134 134 135 #endif /* USB_ KBDDEV_H_ */135 #endif /* USB_HID_KBDDEV_H_ */ 136 136 137 137 /** -
uspace/drv/usbhid/kbd/kbdrepeat.h
r60c0573 rba358ed 34 34 */ 35 35 36 #ifndef USB_ KBDREPEAT_H_37 #define USB_ KBDREPEAT_H_36 #ifndef USB_HID_KBDREPEAT_H_ 37 #define USB_HID_KBDREPEAT_H_ 38 38 39 39 struct usb_kbd_t; … … 62 62 void usb_kbd_repeat_stop(struct usb_kbd_t *kbd, unsigned int key); 63 63 64 #endif /* USB_ KBDREPEAT_H_ */64 #endif /* USB_HID_KBDREPEAT_H_ */ 65 65 66 66 /** -
uspace/drv/usbhid/layout.h
r60c0573 rba358ed 36 36 */ 37 37 38 #ifndef USB_ KBD_LAYOUT_H_39 #define USB_ KBD_LAYOUT_H_38 #ifndef USB_HID_LAYOUT_H_ 39 #define USB_HID_LAYOUT_H_ 40 40 41 41 #include <sys/types.h> -
uspace/drv/usbhid/mouse/mousedev.h
r60c0573 rba358ed 34 34 */ 35 35 36 #ifndef USB_ MOUSEDEV_H_37 #define USB_ MOUSEDEV_H_36 #ifndef USB_HID_MOUSEDEV_H_ 37 #define USB_HID_MOUSEDEV_H_ 38 38 39 39 #include <usb/devdrv.h> … … 71 71 /*----------------------------------------------------------------------------*/ 72 72 73 #endif // USB_ MOUSEDEV_H_73 #endif // USB_HID_MOUSEDEV_H_ 74 74 75 75 /** -
uspace/drv/usbhid/usbhid.c
r60c0573 rba358ed 51 51 /*----------------------------------------------------------------------------*/ 52 52 53 typedef struct usb_hid_callback_mapping {54 usb_hid_report_path_t *path;55 char *vendor_id;56 char *product_id;57 } usb_hid_callback_mapping;58 59 /*----------------------------------------------------------------------------*/60 61 53 /* Array of endpoints expected on the device, NULL terminated. */ 62 54 usb_endpoint_description_t *usb_hid_endpoints[USB_HID_POLL_EP_COUNT + 1] = { -
uspace/drv/usbhid/usbhid.h
r60c0573 rba358ed 34 34 */ 35 35 36 #ifndef USB_ USBHID_H_37 #define USB_ USBHID_H_36 #ifndef USB_HID_USBHID_H_ 37 #define USB_HID_USBHID_H_ 38 38 39 39 #include <stdint.h> … … 63 63 usb_hid_driver_poll_ended poll_end; 64 64 } usb_hid_subdriver_t; 65 66 /*----------------------------------------------------------------------------*/ 67 68 typedef struct usb_hid_callback_mapping { 69 usb_hid_report_path_t *path; 70 char *vendor_id; 71 char *product_id; 72 } usb_hid_callback_mapping_t; 65 73 66 74 /*----------------------------------------------------------------------------*/ … … 126 134 void usb_hid_free(usb_hid_dev_t **hid_dev); 127 135 128 #endif /* USB_ USBHID_H_ */136 #endif /* USB_HID_USBHID_H_ */ 129 137 130 138 /**
Note:
See TracChangeset
for help on using the changeset viewer.