Add optional double-banking support to the Device mode Class Drivers, on a per-endpoi...
[pub/USBasp.git] / Demos / Device / ClassDriver / Joystick / Joystick.c
index b18b7eb..36a74a2 100644 (file)
@@ -47,13 +47,14 @@ USB_ClassInfo_HID_Device_t Joystick_HID_Interface =
        {\r
                .Config =\r
                        {\r
-                               .InterfaceNumber         = 0,\r
+                               .InterfaceNumber              = 0,\r
 \r
-                               .ReportINEndpointNumber  = JOYSTICK_EPNUM,\r
-                               .ReportINEndpointSize    = JOYSTICK_EPSIZE,\r
+                               .ReportINEndpointNumber       = JOYSTICK_EPNUM,\r
+                               .ReportINEndpointSize         = JOYSTICK_EPSIZE,\r
+                               .ReportINEndpointDoubleBank   = false,\r
 \r
-                               .PrevReportINBuffer      = PrevJoystickHIDReportBuffer,\r
-                               .PrevReportINBufferSize  = sizeof(PrevJoystickHIDReportBuffer),\r
+                               .PrevReportINBuffer           = PrevJoystickHIDReportBuffer,\r
+                               .PrevReportINBufferSize       = sizeof(PrevJoystickHIDReportBuffer),\r
                        },\r
        };\r
 \r