bugfix
[minwii.git] / src / pywiiuse / pygame_wiimouse.py
index e5d506c..3328eff 100755 (executable)
@@ -169,7 +169,7 @@ def _full_mouse_event_cb(self, id, wmp):
         if button :
             event = pygame.event.Event(pygame.MOUSEBUTTONUP,
                                        pos = pos,
-                                       button = 1)
+                                       button = button)
             pygame.event.post(event)