1
0
Fork 0
forked from len0rd/rockbox

Flyspray: FS#10326

Author: Tomer Shalev

Adds a USB HID sample application, a plugin tha allows to send HID commands while connected in non-storage mode.
This also removes the HID stuff in the debug menu. Testing is now easily doable from the plugin
Also general HID updates


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21953 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Frank Gevaerts 2009-07-18 12:58:29 +00:00
parent 06bb5ea004
commit e409fba7f8
10 changed files with 1288 additions and 517 deletions

View file

@ -22,6 +22,7 @@
#define USB_HID_H
#include "usb_ch9.h"
#include "usb_core.h"
#include "usb_hid_usage_tables.h"
int usb_hid_request_endpoints(struct usb_class_driver *drv);
@ -33,7 +34,7 @@ void usb_hid_disconnect(void);
void usb_hid_transfer_complete(int ep, int dir, int status, int length);
bool usb_hid_control_request(struct usb_ctrlrequest* req, unsigned char* dest);
void usb_hid_send_consumer_usage(consumer_usage_page_t id);
void usb_hid_send(usage_page_t usage_page, int id);
#endif