projects
/
minwii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bugfix : on ne loggait pas le bon état.
[minwii.git]
/
src
/
app
/
start.py
diff --git
a/src/app/start.py
b/src/app/start.py
index
3f5f247
..
dd0b0d5
100755
(executable)
--- a/
src/app/start.py
+++ b/
src/app/start.py
@@
-12,18
+12,9
@@
$URL$
def main(wiimoteSupport) :
import pygame
from minwii import MinWii
def main(wiimoteSupport) :
import pygame
from minwii import MinWii
-
pygame.init()
pygame.init()
- #modeResolution = (1024,768)
- #modeResolution = (600,480)
- #pygame.display.set_mode(modeResolution, pygame.NOFRAME)#, pygame.FULLSCREEN)
minwii = MinWii(wiimoteSupport=wiimoteSupport)
minwii.run()
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__" :
pygame.quit()
if __name__ == "__main__" :
@@
-31,7
+22,7
@@
if __name__ == "__main__" :
import sys
from optparse import OptionParser
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"
op = OptionParser(usage)
op.add_option("--no-wii", dest="wiimoteSupport"