From f04df7410041506425a042a6397385de2e1abf53 Mon Sep 17 00:00:00 2001 From: pin Date: Mon, 19 Apr 2010 15:52:06 +0000 Subject: [PATCH 1/1] barre de diodes au dessus. git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@154 fe552daf-6dbe-4428-90eb-1537e0879342 --- src/pywiiuse/pygame_wiimouse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(): -- 2.20.1