Changes in uspace/drv/bus/usb/usbhid/generic/hiddev.h [56fd7cf:378bf85] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhid/generic/hiddev.h
r56fd7cf r378bf85 38 38 39 39 #include <usb/dev/driver.h> 40 41 struct usb_hid_dev; 40 #include "../usbhid.h" 42 41 43 42 extern const usb_endpoint_description_t 44 43 usb_hid_generic_poll_endpoint_description; 45 44 46 const char *HID_GENERIC_FUN_NAME;47 const char *HID_GENERIC_CLASS_NAME;45 extern const char *HID_GENERIC_FUN_NAME; 46 extern const char *HID_GENERIC_CATEGORY; 48 47 49 48 /** The USB HID generic 'hid' function softstate */ 50 49 typedef struct { 51 struct usb_hid_dev*hid_dev;50 usb_hid_dev_t *hid_dev; 52 51 } usb_hid_gen_fun_t; 53 52 54 int usb_generic_hid_init(struct usb_hid_dev *hid_dev, void **data); 55 56 void usb_generic_hid_deinit(struct usb_hid_dev *hid_dev, void *data); 57 58 bool usb_generic_hid_polling_callback(struct usb_hid_dev *hid_dev, void *data); 53 extern int usb_generic_hid_init(usb_hid_dev_t *, void **); 54 extern void usb_generic_hid_deinit(usb_hid_dev_t *, void *); 55 extern bool usb_generic_hid_polling_callback(usb_hid_dev_t *, void *); 59 56 60 57 #endif // USB_HID_HIDDDEV_H_
Note:
See TracChangeset
for help on using the changeset viewer.