966700c33e76ec8e611f9306c28deb458cb8616b
1 # -*- coding: utf-8 -*-
3 lancement de l'application winwii
9 from optparse
import OptionParser
11 from minwii
.app
import MinWii
14 def main(wiimoteSupport
, fullscreen
) :
16 minwii
= MinWii(wiimoteSupport
=wiimoteSupport
, fullscreen
=fullscreen
)
20 if __name__
== "__main__" :
21 usage
= "%prog [options]"
22 op
= OptionParser(usage
)
24 op
.add_option("--no-wii", dest
="wiimoteSupport"
25 , action
="store_false"
27 , help = u
"désactivation du support des wiimotes"
30 op
.add_option("--no-fullscreen", dest
="fullscreen"
31 , action
="store_false"
33 , help = u
"désactivation du mode plein écran"
35 options
, args
= op
.parse_args()
36 main(options
.wiimoteSupport
, options
.fullscreen
)