From 2c3cf5179f16e8303ece57e3dbb191a46f3dcb85 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Sat, 4 Oct 2014 16:59:06 +0200 Subject: Moved resources to the blog site --- content/Informatique/2009-03-11-wiimote.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'content/Informatique/2009-03-11-wiimote.rst') 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 `_ -( 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 -- cgit v1.2.3