Changes in uspace/lib/usbhid/include/usb/hid/request.h [9d58539:5b0cf63] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhid/include/usb/hid/request.h
r9d58539 r5b0cf63 42 42 #include <usb/dev/pipes.h> 43 43 44 /*----------------------------------------------------------------------------*/45 44 46 int usbhid_req_set_report(usb_pipe_t *ctrl_pipe, int iface_no, 45 46 errno_t usbhid_req_set_report(usb_pipe_t *ctrl_pipe, int iface_no, 47 47 usb_hid_report_type_t type, uint8_t *buffer, size_t buf_size); 48 48 49 int usbhid_req_set_protocol(usb_pipe_t *ctrl_pipe, int iface_no, 49 errno_t usbhid_req_set_protocol(usb_pipe_t *ctrl_pipe, int iface_no, 50 50 usb_hid_protocol_t protocol); 51 51 52 int usbhid_req_set_idle(usb_pipe_t *ctrl_pipe, int iface_no, uint8_t duration);52 errno_t usbhid_req_set_idle(usb_pipe_t *ctrl_pipe, int iface_no, uint8_t duration); 53 53 54 int usbhid_req_get_report(usb_pipe_t *ctrl_pipe, int iface_no, 55 usb_hid_report_type_t type, uint8_t *buffer, size_t buf_size, 54 errno_t usbhid_req_get_report(usb_pipe_t *ctrl_pipe, int iface_no, 55 usb_hid_report_type_t type, uint8_t *buffer, size_t buf_size, 56 56 size_t *actual_size); 57 57 58 int usbhid_req_get_protocol(usb_pipe_t *ctrl_pipe, int iface_no, 58 errno_t usbhid_req_get_protocol(usb_pipe_t *ctrl_pipe, int iface_no, 59 59 usb_hid_protocol_t *protocol); 60 60 61 int usbhid_req_get_idle(usb_pipe_t *ctrl_pipe, int iface_no, uint8_t *duration);61 errno_t usbhid_req_get_idle(usb_pipe_t *ctrl_pipe, int iface_no, uint8_t *duration); 62 62 63 /*----------------------------------------------------------------------------*/ 63 64 64 65 65 #endif /* USB_KBD_HIDREQ_H_ */
Note:
See TracChangeset
for help on using the changeset viewer.