summaryrefslogtreecommitdiff
path: root/content/Informatique/2009-03-11-wiimote.rst
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2014-10-04 16:59:06 +0200
committerSébastien Dailly <sebastien@chimrod.com>2014-10-04 16:59:06 +0200
commit2c3cf5179f16e8303ece57e3dbb191a46f3dcb85 (patch)
tree3d4ea31cd91388149ba43d3c8698c90532a51a59 /content/Informatique/2009-03-11-wiimote.rst
parent19e71ce6cd7ca7540e0e004d180998e051c57402 (diff)
Moved resources to the blog site
Diffstat (limited to 'content/Informatique/2009-03-11-wiimote.rst')
-rw-r--r--content/Informatique/2009-03-11-wiimote.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/content/Informatique/2009-03-11-wiimote.rst b/content/Informatique/2009-03-11-wiimote.rst
index eb6641d..325d4b7 100644
--- a/content/Informatique/2009-03-11-wiimote.rst
+++ b/content/Informatique/2009-03-11-wiimote.rst
@@ -23,9 +23,9 @@ as main, it use pygame for displaying the infrared sources the wiimote can
detect, but it is also compatible as plugin for wminput ( even if it does
anything for now ).
-You can get it here :
-`wm\_control.py <http://www.chimrod.com/downloads/wiimote/ir_control_0.py>`_
-( This code is licenced under GPL 3+ )
+You can get it here : wm_control.py_ ( This code is licenced under GPL 3+ )
+
+.. _wm_control.py: {filename}/resources/ir_control_0.py
About the code :
@@ -44,9 +44,9 @@ wminput plugin path ( on my debian this is the /usr/lib/cwiid/plugins/ )
return
def wmplugin_info():
- return [],
- [("X", wmplugin.REL | wmplugin.ABS, 1024, 0, 0, 0),
- ("Y", wmplugin.REL | wmplugin.ABS, 768, 0, 0, 0)],
+ return [],
+ [("X", wmplugin.REL | wmplugin.ABS, 1024, 0, 0, 0),
+ ("Y", wmplugin.REL | wmplugin.ABS, 768, 0, 0, 0)],
[]
We instanciate the wiimote object here and configure it in the IR mode. The