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