X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/blobdiff_plain/0e6420a8ac9fcefa6a83a2f515b3fe6858a372cd..1ccd4f7141e49707ec82ef1fc39904951250d05c:/src/pywiiuse/pygame_wiimouse.py?ds=inline 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)