]> CRI, Mines Paris - PSL - minwii.git/blobdiff - src/pywiiuse/pygame_wiitest.py
Utilisation du format .ico historique.
[minwii.git] / src / pywiiuse / pygame_wiitest.py
index b9d6827ed81224f3247221601db477bdf6c23990..cc2e5ed7b96ccc487766be0869985645583e73a9 100755 (executable)
@@ -22,6 +22,7 @@ if n == 0:
     sys.exit(1)
 
 wm = pygame_wiimote.Wiimote(0) # access the wiimote object
     sys.exit(1)
 
 wm = pygame_wiimote.Wiimote(0) # access the wiimote object
+wm.enable_ir(1)
 wm.enable_accels(1) # turn on acceleration reporting
 
 w,h = size = (512,512)
 wm.enable_accels(1) # turn on acceleration reporting
 
 w,h = size = (512,512)