Changeset 266fcd8 in mainline for uspace/lib/drv
- Timestamp:
- 2011-05-27T09:27:02Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 81d2f6a
- Parents:
- 3c9eb46
- Location:
- uspace/lib/drv
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/remote_usbhid.c
r3c9eb46 r266fcd8 130 130 131 131 size_t act_length; 132 rc = hid_iface->get_event(fun, data, len, &act_length, flags); 132 int event_nr; 133 rc = hid_iface->get_event(fun, data, len, &act_length, &event_nr, flags); 133 134 if (rc != EOK) { 134 135 free(data); … … 147 148 free(data); 148 149 149 async_answer_ 0(callid, EOK);150 async_answer_1(callid, EOK, event_nr); 150 151 } 151 152 -
uspace/lib/drv/include/usbhid_iface.h
r3c9eb46 r266fcd8 109 109 */ 110 110 int (*get_event)(ddf_fun_t *fun, uint8_t *buffer, size_t size, 111 size_t *act_size, unsigned int flags);111 size_t *act_size, int *event_nr, unsigned int flags); 112 112 113 113 /** Get size of the report descriptor in bytes.
Note:
See TracChangeset
for help on using the changeset viewer.