diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-11-06 13:43:18 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-11-06 13:43:18 +0000 |
commit | f7ab433c67b86723385ec05ee9c7b96dd18e6dde (patch) | |
tree | 6f5efdffd16bc2bca9c032ef7e6ea944a757b529 /Demos/DualRole | |
parent | 1c7aa68596da103137bdfe20f3baa20dcf7faae2 (diff) | |
download | lufa-f7ab433c67b86723385ec05ee9c7b96dd18e6dde.tar.gz lufa-f7ab433c67b86723385ec05ee9c7b96dd18e6dde.tar.bz2 lufa-f7ab433c67b86723385ec05ee9c7b96dd18e6dde.zip |
Add optional double-banking support to the Device mode Class Drivers, on a per-endpoint, per-interface level.
Diffstat (limited to 'Demos/DualRole')
-rw-r--r-- | Demos/DualRole/ClassDriver/MouseHostDevice/DeviceFunctions.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Demos/DualRole/ClassDriver/MouseHostDevice/DeviceFunctions.c b/Demos/DualRole/ClassDriver/MouseHostDevice/DeviceFunctions.c index 33bf7dc20..47a191350 100644 --- a/Demos/DualRole/ClassDriver/MouseHostDevice/DeviceFunctions.c +++ b/Demos/DualRole/ClassDriver/MouseHostDevice/DeviceFunctions.c @@ -47,13 +47,14 @@ USB_ClassInfo_HID_Device_t Mouse_HID_Device_Interface = {
.Config =
{
- .InterfaceNumber = 0,
+ .InterfaceNumber = 0,
- .ReportINEndpointNumber = MOUSE_EPNUM,
- .ReportINEndpointSize = MOUSE_EPSIZE,
+ .ReportINEndpointNumber = MOUSE_EPNUM,
+ .ReportINEndpointSize = MOUSE_EPSIZE,
+ .ReportINEndpointDoubleBank = false,
- .PrevReportINBuffer = PrevMouseHIDReportBuffer,
- .PrevReportINBufferSize = sizeof(PrevMouseHIDReportBuffer),
+ .PrevReportINBuffer = PrevMouseHIDReportBuffer,
+ .PrevReportINBufferSize = sizeof(PrevMouseHIDReportBuffer),
},
};
|