aboutsummaryrefslogtreecommitdiff
path: root/Demos/Device/ClassDriver/Keyboard/Keyboard.c
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2009-11-06 13:43:18 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2009-11-06 13:43:18 +0000
commit25c09f913020b5442eadf5c9fa4638ee52b98240 (patch)
tree6f5efdffd16bc2bca9c032ef7e6ea944a757b529 /Demos/Device/ClassDriver/Keyboard/Keyboard.c
parentdd274c738906fdd2f137ccf56db566906297ebe0 (diff)
Add optional double-banking support to the Device mode Class Drivers, on a per-endpoint, per-interface level.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@882 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Demos/Device/ClassDriver/Keyboard/Keyboard.c')
-rw-r--r--Demos/Device/ClassDriver/Keyboard/Keyboard.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/Demos/Device/ClassDriver/Keyboard/Keyboard.c b/Demos/Device/ClassDriver/Keyboard/Keyboard.c
index e609d7ac..ea373a80 100644
--- a/Demos/Device/ClassDriver/Keyboard/Keyboard.c
+++ b/Demos/Device/ClassDriver/Keyboard/Keyboard.c
@@ -48,13 +48,14 @@ USB_ClassInfo_HID_Device_t Keyboard_HID_Interface =
{
.Config =
{
- .InterfaceNumber = 0,
+ .InterfaceNumber = 0,
- .ReportINEndpointNumber = KEYBOARD_EPNUM,
- .ReportINEndpointSize = KEYBOARD_EPSIZE,
+ .ReportINEndpointNumber = KEYBOARD_EPNUM,
+ .ReportINEndpointSize = KEYBOARD_EPSIZE,
+ .ReportINEndpointDoubleBank = false,
- .PrevReportINBuffer = PrevKeyboardHIDReportBuffer,
- .PrevReportINBufferSize = sizeof(PrevKeyboardHIDReportBuffer),
+ .PrevReportINBuffer = PrevKeyboardHIDReportBuffer,
+ .PrevReportINBufferSize = sizeof(PrevKeyboardHIDReportBuffer),
},
};