Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbhid/usbhid.h

    r3f8f09f r065064e6  
    119119
    120120        /** HID Report parser. */
    121         usb_hid_report_t report;
     121        usb_hid_report_t *report;
    122122
    123123        uint8_t report_id;
     
    141141};
    142142
    143 extern const usb_endpoint_description_t *usb_hid_endpoints[];
     143extern usb_endpoint_description_t *usb_hid_endpoints[];
    144144
    145145/*----------------------------------------------------------------------------*/
     
    147147int usb_hid_init(usb_hid_dev_t *hid_dev, usb_device_t *dev);
    148148
    149 void usb_hid_deinit(usb_hid_dev_t *hid_dev);
     149bool usb_hid_polling_callback(usb_device_t *dev, uint8_t *buffer,
     150    size_t buffer_size, void *arg);
    150151
    151 bool usb_hid_polling_callback(usb_device_t *dev,
    152     uint8_t *buffer, size_t buffer_size, void *arg);
    153 
    154 void usb_hid_polling_ended_callback(usb_device_t *dev, bool reason, void *arg);
     152void usb_hid_polling_ended_callback(usb_device_t *dev, bool reason,
     153     void *arg);
    155154
    156155void usb_hid_new_report(usb_hid_dev_t *hid_dev);
    157156
    158 int usb_hid_report_number(const usb_hid_dev_t *hid_dev);
     157int usb_hid_report_number(usb_hid_dev_t *hid_dev);
     158
     159void usb_hid_destroy(usb_hid_dev_t *hid_dev);
    159160
    160161#endif /* USB_HID_USBHID_H_ */
Note: See TracChangeset for help on using the changeset viewer.