Changes in uspace/lib/usbhid/include/usb/hid/request.h [5b0cf63:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhid/include/usb/hid/request.h
r5b0cf63 r9d58539 42 42 #include <usb/dev/pipes.h> 43 43 44 /*----------------------------------------------------------------------------*/ 44 45 45 46 errno_t usbhid_req_set_report(usb_pipe_t *ctrl_pipe, int iface_no, 46 int 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 errno_t usbhid_req_set_protocol(usb_pipe_t *ctrl_pipe, int iface_no, 49 int usbhid_req_set_protocol(usb_pipe_t *ctrl_pipe, int iface_no, 50 50 usb_hid_protocol_t protocol); 51 51 52 errno_t usbhid_req_set_idle(usb_pipe_t *ctrl_pipe, int iface_no, uint8_t duration);52 int usbhid_req_set_idle(usb_pipe_t *ctrl_pipe, int iface_no, uint8_t duration); 53 53 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, 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, 56 56 size_t *actual_size); 57 57 58 errno_t usbhid_req_get_protocol(usb_pipe_t *ctrl_pipe, int iface_no, 58 int usbhid_req_get_protocol(usb_pipe_t *ctrl_pipe, int iface_no, 59 59 usb_hid_protocol_t *protocol); 60 60 61 errno_t usbhid_req_get_idle(usb_pipe_t *ctrl_pipe, int iface_no, uint8_t *duration);61 int 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.