diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-06-05 02:23:31 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-06-05 02:23:31 +0000 |
commit | 3d1baa6f953c3c78c78c31466c4f551123e84415 (patch) | |
tree | 1c2d538c56bb15f2a903a4a1f9e49cd41c3fe38d /Demos/Device/GenericHID/GenericHID.h | |
parent | 7665bf323e76ed1ebcfd137e2ab0bd356b43a5e8 (diff) | |
download | lufa-3d1baa6f953c3c78c78c31466c4f551123e84415.tar.gz lufa-3d1baa6f953c3c78c78c31466c4f551123e84415.tar.bz2 lufa-3d1baa6f953c3c78c78c31466c4f551123e84415.zip |
Added multiple Report ID support to the HID class driver. Removed OUT endpoint support from HID driver (all OUT reports are now processed through control requests) as a seperate endpoint had issues with determining the exact output report length.
Diffstat (limited to 'Demos/Device/GenericHID/GenericHID.h')
-rw-r--r-- | Demos/Device/GenericHID/GenericHID.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Device/GenericHID/GenericHID.h b/Demos/Device/GenericHID/GenericHID.h index b68dc4c24..5ea084c7e 100644 --- a/Demos/Device/GenericHID/GenericHID.h +++ b/Demos/Device/GenericHID/GenericHID.h @@ -72,8 +72,8 @@ void EVENT_USB_ConfigurationChanged(void);
void EVENT_USB_UnhandledControlPacket(void);
- uint16_t CALLBACK_USB_HID_CreateNextHIDReport(USB_ClassInfo_HID_t* HIDInterfaceInfo, void* ReportData);
- void CALLBACK_USB_HID_ProcessReceivedHIDReport(USB_ClassInfo_HID_t* HIDInterfaceInfo,
+ uint16_t CALLBACK_USB_HID_CreateNextHIDReport(USB_ClassInfo_HID_t* HIDInterfaceInfo, uint8_t* ReportID, void* ReportData);
+ void CALLBACK_USB_HID_ProcessReceivedHIDReport(USB_ClassInfo_HID_t* HIDInterfaceInfo, uint8_t ReportID,
void* ReportData, uint16_t ReportSize);
#endif
|