Added new HID_DESCRIPTOR_MOUSE, HID_DESCRIPTOR_KEYBOARD and HID_DESCRIPTOR_JOYSTICK...
[pub/lufa.git] / Demos / Device / LowLevel / KeyboardMouse / KeyboardMouse.c
index 0588879..fbb742c 100644 (file)
@@ -290,7 +290,7 @@ void Mouse_HID_Task(void)
                  MouseReportData.X = -1;
 
                if (JoyStatus_LCL & JOY_PRESS)
-                 MouseReportData.Button  = (1 << 0);
+                 MouseReportData.Button |= (1 << 0);
        }
 
        /* Select the Mouse Report Endpoint */