projects
/
minwii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Désactivation du logging dans des fichiers par positionnement de la variable 'WINWII_...
[minwii.git]
/
src
/
pywiiuse
/
pygame_wiitest.py
diff --git
a/src/pywiiuse/pygame_wiitest.py
b/src/pywiiuse/pygame_wiitest.py
index
b9d6827
..
cc2e5ed
100755
(executable)
--- 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
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)