From: pin Date: Fri, 9 Apr 2010 15:10:35 +0000 (+0000) Subject: démarrage du support de plusieurs wiimotes. X-Git-Url: https://scm.cri.mines-paristech.fr/git/minwii.git/commitdiff_plain/3d66754963905b237f7cd775601d7bf9b5fc3e33 démarrage du support de plusieurs wiimotes. git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@136 fe552daf-6dbe-4428-90eb-1537e0879342 --- 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