From: pin Date: Mon, 19 Apr 2010 15:52:06 +0000 (+0000) Subject: barre de diodes au dessus. X-Git-Url: https://scm.cri.mines-paristech.fr/git/minwii.git/commitdiff_plain/f04df7410041506425a042a6397385de2e1abf53?ds=inline;hp=acd9ed455dd78c8248b105d80361a5bf07efa094 barre de diodes au dessus. git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@154 fe552daf-6dbe-4428-90eb-1537e0879342 --- 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():