X-Git-Url: https://scm.cri.mines-paristech.fr/git/minwii.git/blobdiff_plain/9096acac0bf12c658183483be6dc898db1a31756..4c4732c6ed8cb0aaa70fb2d4c6e5a958868c5349:/src/pywiiuse/pygame_wiimouse.py diff --git a/src/pywiiuse/pygame_wiimouse.py b/src/pywiiuse/pygame_wiimouse.py index 4d42763..55a9c99 100755 --- 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 - wm.enable_ir(1, vres = screenResolution, position=wiiuse.IR_BELOW) + wm.enable_ir(1, vres = screenResolution, position=wiiuse.IR_ABOVE) def get_count():