diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2009-05-16 15:30:09 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2009-05-16 15:30:09 +0000 |
commit | 69a4117c1d15d91836de91abe5f8f93b868ec808 (patch) | |
tree | a3d47f51a0998506ef7b0f5332ddecae3e2106d2 /firmware/export/usb_drv.h | |
parent | e435e4d976757f8436484a5b4d158ab7545fcdb6 (diff) | |
download | rockbox-69a4117c1d15d91836de91abe5f8f93b868ec808.tar.gz rockbox-69a4117c1d15d91836de91abe5f8f93b868ec808.zip |
Add working USB HID driver, by Tomer Shalev (part of his GSoC work).
This needs support for usb interrupt transfers, so there are some changes in various USB drivers as well (only usb-drv-arc supports it at this point, others won't have working HID yet).
HID is disabled for now, as the apps/ part is not included yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20962 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/usb_drv.h')
-rw-r--r-- | firmware/export/usb_drv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/usb_drv.h b/firmware/export/usb_drv.h index 0c99630b11..fad9c79c10 100644 --- a/firmware/export/usb_drv.h +++ b/firmware/export/usb_drv.h | |||
@@ -44,7 +44,7 @@ int usb_drv_port_speed(void); | |||
44 | void usb_drv_cancel_all_transfers(void); | 44 | void usb_drv_cancel_all_transfers(void); |
45 | void usb_drv_set_test_mode(int mode); | 45 | void usb_drv_set_test_mode(int mode); |
46 | bool usb_drv_connected(void); | 46 | bool usb_drv_connected(void); |
47 | int usb_drv_request_endpoint(int dir); | 47 | int usb_drv_request_endpoint(int type, int dir); |
48 | void usb_drv_release_endpoint(int ep); | 48 | void usb_drv_release_endpoint(int ep); |
49 | 49 | ||
50 | #endif /* _USB_DRV_H */ | 50 | #endif /* _USB_DRV_H */ |