summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2135d89)
if wimoteSupport :
from pywiiuse import pygame_wiimouse
from pywiiuse.PyWiiUse import IR_BELOW
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
n = pygame_wiimouse.get_count()
print '%d wiimotes' % n
WT = pygame_wiimouse.WT