Editing Wii remote

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
-
There are numerous ways to achieve control of the [[Nokia N900|N900]] using a wii remote. Please have a look at this [http://talk.maemo.org/showthread.php?t=19658 talk.maemo.org thread].
+
There are numerous ways to achieve control of the N900 using a wii remote. Please have a look at this [http://talk.maemo.org/showthread.php?t=19658 thread]
The method described here uses cwiid and wminput. This method is an expansion on the instructions provided [http://talk.maemo.org/showthread.php?t=19658&page=13 here] by the user thp, who re-packaged cwiid.
The method described here uses cwiid and wminput. This method is an expansion on the instructions provided [http://talk.maemo.org/showthread.php?t=19658&page=13 here] by the user thp, who re-packaged cwiid.
-
<ol>
+
change to root (by whichever method you chose)
-
<li>
+
 
-
gain [[root access]]:
+
<code>root</code>
-
<pre>root</pre>
+
 
-
</li>
+
install cwiid-utils from extras-devel.
-
<li>
+
 
-
install [http://maemo.org/packages/view/cwiid-utils/ cwiid-utils] from [[extras-devel]]:
+
<code>apt-get install cwiid-utils</code>
-
<pre>apt-get install cwiid-utils</pre>
+
 
-
</li>
+
if not already installed install python-cwiid
-
<li>
+
 
-
if not already installed, install [http://maemo.org/packages/view/python-cwiid/ python-cwiid]:
+
<code>apt-get install python-cwiid</code>
-
<pre>apt-get install python-cwiid</pre>
+
 
-
</li>
+
Then execute the following two commands
-
<li>
+
 
-
execute the following two commands:
+
<code>modprobe uinput</code>
-
<pre>
+
 
-
modprobe uinput
+
<code>chmod a+rw /dev/input/uinput</code>
-
chmod a+rw /dev/input/uinput
+
 
-
</pre>
+
Then create a config file. The file below is for controlling the inbuilt media player
-
</li>
+
 
-
<li>
+
-
create a config file. The file below is for controlling the built-in media player
+
<pre>
<pre>
Wiimote.Left    = KEY_LEFT
Wiimote.Left    = KEY_LEFT
Line 36: Line 34:
</pre>
</pre>
-
The code was saved in <code>/home/user/.cwiid/wminput/mediaplayer</code>. This is one of the places that gets searched by wminput as detailed [http://abstrakraft.org/cwiid/wiki/wminput here]
+
The code was saved in <code>/home/user/.cwiid/wminput/mediaplayer</code>
-
</li>
+
This is one of the places that gets searched by wminput as detailed [http://abstrakraft.org/cwiid/wiki/wminput here]
-
<li>
+
 
-
once saved, ensure Bluetooth is on and simply execute:
+
Once saved ensure bluetooth is on and simply execute:
-
<pre>wminput -c mediaplayer</pre>
+
 
-
from the command line. Then press the 1 and 2 buttons on thhe wii remote and the command line should say ready after a little while. Once done simply start the media player. Once started simply use the wii remote buttons to control it. You can skip songs (forward and backward), pause/play and change volume.
+
<code>wminput -c mediaplayer</code>
-
</li>
+
 
-
</ol>
+
from the command line. then press the 1 and 2 buttons on thhe wii remote and the command line should say ready after a little while. Once done simply start the media player. Once started simply use the wii remote buttons to control it. You can skip songs (forward and backward), pause/play and change volume.
If you want to carry out some coding using python and wii remote look [http://talk.maemo.org/showthread.php?t=60178 here]
If you want to carry out some coding using python and wii remote look [http://talk.maemo.org/showthread.php?t=60178 here]
-
Here is also some further useful links:
+
Here is also some further usefull links:
* http://abstrakraft.org/cwiid/browser/wminput/action_enum.txt
* http://abstrakraft.org/cwiid/browser/wminput/action_enum.txt
* http://abstrakraft.org/cwiid/wiki
* http://abstrakraft.org/cwiid/wiki
[[Category:Power users]]
[[Category:Power users]]

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)