X-Git-Url: https://scm.cri.mines-paristech.fr/git/minwii.git/blobdiff_plain/a06a69f9abfb7ecc88ef153768e894415ae089fd..d218c503ab4f808cb477d5e7e2707aef64593afe:/src/pywiiuse/pygame_wiitest.py?ds=sidebyside diff --git a/src/pywiiuse/pygame_wiitest.py b/src/pywiiuse/pygame_wiitest.py index b9d6827..cc2e5ed 100755 --- a/src/pywiiuse/pygame_wiitest.py +++ b/src/pywiiuse/pygame_wiitest.py @@ -22,6 +22,7 @@ if n == 0: 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)