X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/blobdiff_plain/0e6420a8ac9fcefa6a83a2f515b3fe6858a372cd..41abf9e9670bd4ccd60c07ee7464509080bb7f8d:/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)