{\r
.Config =\r
{\r
- .InterfaceNumber = 0,\r
+ .InterfaceNumber = 0,\r
\r
- .ReportINEndpointNumber = MOUSE_EPNUM,\r
- .ReportINEndpointSize = MOUSE_EPSIZE,\r
+ .ReportINEndpointNumber = MOUSE_EPNUM,\r
+ .ReportINEndpointSize = MOUSE_EPSIZE,\r
+ .ReportINEndpointDoubleBank = false,\r
\r
- .PrevReportINBuffer = PrevMouseHIDReportBuffer,\r
- .PrevReportINBufferSize = sizeof(PrevMouseHIDReportBuffer),\r
+ .PrevReportINBuffer = PrevMouseHIDReportBuffer,\r
+ .PrevReportINBufferSize = sizeof(PrevMouseHIDReportBuffer),\r
},\r
};\r
\r
else if (JoyStatus_LCL & JOY_DOWN)\r
MouseReport->Y = 1;\r
\r
- if (JoyStatus_LCL & JOY_RIGHT)\r
- MouseReport->X = 1;\r
- else if (JoyStatus_LCL & JOY_LEFT)\r
+ if (JoyStatus_LCL & JOY_LEFT)\r
MouseReport->X = -1;\r
+ else if (JoyStatus_LCL & JOY_RIGHT)\r
+ MouseReport->X = 1;\r
\r
if (JoyStatus_LCL & JOY_PRESS)\r
MouseReport->Button = (1 << 0);\r