def main(wiimoteSupport) :
import pygame
from minwii import MinWii
-
pygame.init()
- #modeResolution = (1024,768)
- #modeResolution = (600,480)
- #pygame.display.set_mode(modeResolution, pygame.NOFRAME)#, pygame.FULLSCREEN)
minwii = MinWii(wiimoteSupport=wiimoteSupport)
minwii.run()
- # from gui.PGUConfiguration import PGUConfiguration
- # pygame.init()
- # modeResolution = (1024,768)
- # window = pygame.display.set_mode(modeResolution)#,pygame.FULLSCREEN)
- # pgu = PGUConfiguration(window)
pygame.quit()
if __name__ == "__main__" :
import sys
from optparse import OptionParser
- usage = "%prog instance_home products_conf_file [options]"
+ usage = "%prog [options]"
op = OptionParser(usage)
op.add_option("--no-wii", dest="wiimoteSupport"