From 3d66754963905b237f7cd775601d7bf9b5fc3e33 Mon Sep 17 00:00:00 2001 From: pin Date: Fri, 9 Apr 2010 15:10:35 +0000 Subject: [PATCH] =?utf8?q?d=C3=A9marrage=20du=20support=20de=20plusieurs?= =?utf8?q?=20wiimotes.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@136 fe552daf-6dbe-4428-90eb-1537e0879342 --- src/app/minwii.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/minwii.py b/src/app/minwii.py index 1cf7daf..c609246 100755 --- a/src/app/minwii.py +++ b/src/app/minwii.py @@ -32,7 +32,7 @@ class MinWii(object): if wimoteSupport : from pywiiuse import pygame_wiimouse from pywiiuse.PyWiiUse import IR_BELOW - pygame_wiimouse.init(1, 5) # look for 1, wait 5 seconds + pygame_wiimouse.init(4, 5) # look for 4, wait 5 seconds n = pygame_wiimouse.get_count() print '%d wiimotes' % n WT = pygame_wiimouse.WT -- 2.20.1