projects
/
minwii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ménage (par le vide)
[minwii.git]
/
src
/
pywiiuse
/
pygame_wiimouse.py
diff --git
a/src/pywiiuse/pygame_wiimouse.py
b/src/pywiiuse/pygame_wiimouse.py
index
4d42763
..
55a9c99
100755
(executable)
--- a/
src/pywiiuse/pygame_wiimouse.py
+++ b/
src/pywiiuse/pygame_wiimouse.py
@@
-138,7
+138,7
@@
def init(nmotes, timeout, screenResolution=(660, 370)):
for i in range(nmotes) :
wm = Wiimote(i) # access the wiimote object
wm.enable_accels(0) # turn off acceleration reporting
for i in range(nmotes) :
wm = Wiimote(i) # access the wiimote object
wm.enable_accels(0) # turn off acceleration reporting
- wm.enable_ir(1, vres = screenResolution, position=wiiuse.IR_
BELOW
)
+ wm.enable_ir(1, vres = screenResolution, position=wiiuse.IR_
ABOVE
)
def get_count():
def get_count():