projects
/
minwii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ajout du contrôle du gain à la télécommande.
[minwii.git]
/
src
/
pywiiuse
/
pygame_wiimouse.py
diff --git
a/src/pywiiuse/pygame_wiimouse.py
b/src/pywiiuse/pygame_wiimouse.py
index
e5d506c
..
3328eff
100755
(executable)
--- 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,
if button :
event = pygame.event.Event(pygame.MOUSEBUTTONUP,
pos = pos,
- button =
1
)
+ button =
button
)
pygame.event.post(event)
pygame.event.post(event)