X-Git-Url: https://scm.cri.ensmp.fr/git/minwii.git/blobdiff_plain/9096acac0bf12c658183483be6dc898db1a31756..a38e2f50572bdaaff5aa6d99a8cefe91bb856ec5:/src/pywiiuse/pygame_wiimouse.py?ds=sidebyside 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():