projects
/
minwii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ajout d'une option pour désactiver le support des wiimotes au lancement de l'application.
[minwii.git]
/
src
/
pywiiuse
/
PyWiiUse.py
diff --git
a/src/pywiiuse/PyWiiUse.py
b/src/pywiiuse/PyWiiUse.py
index
baeeb9f
..
248055c
100755
(executable)
--- a/
src/pywiiuse/PyWiiUse.py
+++ b/
src/pywiiuse/PyWiiUse.py
@@
-281,6
+281,8
@@
set_orient_threshold = dll.wiiuse_set_orient_threshold
set_orient_threshold.argtypes = [wiimote_p, c_float]
set_timeout = dll.wiiuse_set_timeout
set_ir = dll.wiiuse_set_ir
set_orient_threshold.argtypes = [wiimote_p, c_float]
set_timeout = dll.wiiuse_set_timeout
set_ir = dll.wiiuse_set_ir
+set_ir_position = dll.wiiuse_set_ir_position
+set_ir_vres = dll.wiiuse_set_ir_vres
def is_pressed(dev, button):
return dev.btns & button
def is_pressed(dev, button):
return dev.btns & button