\r
#include "Mouse.h"\r
\r
-/* Global Variables */\r
/** Indicates what report mode the host has requested, true for normal HID reporting mode, false for special boot\r
* protocol reporting mode.\r
*/\r
\r
\r
/** Main program entry point. This routine configures the hardware required by the application, then\r
- * starts the scheduler to run the application tasks.\r
+ * enters a loop to run the application tasks in sequence.\r
*/\r
int main(void)\r
{\r
else if (JoyStatus_LCL & JOY_DOWN)\r
ReportData->Y = 1;\r
\r
- if (JoyStatus_LCL & JOY_RIGHT)\r
- ReportData->X = 1;\r
- else if (JoyStatus_LCL & JOY_LEFT)\r
+ if (JoyStatus_LCL & JOY_LEFT)\r
ReportData->X = -1;\r
+ else if (JoyStatus_LCL & JOY_RIGHT)\r
+ ReportData->X = 1;\r
\r
if (JoyStatus_LCL & JOY_PRESS)\r
ReportData->Button = (1 << 0);\r