- from pywiiuse.PyWiiUse import IR_BELOW
- pygame_wiimouse.init(4, 5) # look for 4, wait 5 seconds
- n = pygame_wiimouse.get_count()
- print '%d wiimotes' % n
+ pygame_wiimouse.init(4, 5, screenResolution) # look for 4, wait 5 seconds
+ nwiimotes = pygame_wiimouse.get_count()
+ print '%d wiimotes' % nwiimotes