projects
/
minwii.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2135d89
)
démarrage du support de plusieurs wiimotes.
author
pin
<pin@fe552daf-6dbe-4428-90eb-1537e0879342>
Fri, 9 Apr 2010 15:10:35 +0000
(15:10 +0000)
committer
pin
<pin@fe552daf-6dbe-4428-90eb-1537e0879342>
Fri, 9 Apr 2010 15:10:35 +0000
(15:10 +0000)
git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@136
fe552daf
-6dbe-4428-90eb-
1537e0879342
src/app/minwii.py
patch
|
blob
|
history
diff --git
a/src/app/minwii.py
b/src/app/minwii.py
index
1cf7daf
..
c609246
100755
(executable)
--- 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