bugfix
authorpin <pin@fe552daf-6dbe-4428-90eb-1537e0879342>
Fri, 24 Jun 2011 13:21:37 +0000 (13:21 +0000)
committerpin <pin@fe552daf-6dbe-4428-90eb-1537e0879342>
Fri, 24 Jun 2011 13:21:37 +0000 (13:21 +0000)
git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@353 fe552daf-6dbe-4428-90eb-1537e0879342

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)