From: pin Date: Fri, 24 Jun 2011 13:21:37 +0000 (+0000) Subject: bugfix X-Git-Url: https://scm.cri.ensmp.fr/git/minwii.git/commitdiff_plain/41abf9e9670bd4ccd60c07ee7464509080bb7f8d?hp=0e6420a8ac9fcefa6a83a2f515b3fe6858a372cd bugfix git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@353 fe552daf-6dbe-4428-90eb-1537e0879342 --- diff --git a/src/pywiiuse/pygame_wiimouse.py b/src/pywiiuse/pygame_wiimouse.py index e5d506c..3328eff 100755 --- a/src/pywiiuse/pygame_wiimouse.py +++ b/src/pywiiuse/pygame_wiimouse.py @@ -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)