<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ch0p.com</title>
	<atom:link href="http://www.ch0p.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ch0p.com</link>
	<description></description>
	<lastBuildDate>Fri, 25 Jun 2010 01:46:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='www.ch0p.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>Connect a Wii Remote to your PC</title>
		<link>http://www.ch0p.com/connect-a-wii-remote-to-your-pc/</link>
		<comments>http://www.ch0p.com/connect-a-wii-remote-to-your-pc/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 06:38:37 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[nintendo wii]]></category>
		<category><![CDATA[wii homebrew]]></category>
		<category><![CDATA[connet wii remote]]></category>
		<category><![CDATA[to your pc]]></category>

		<guid isPermaLink="false">http://www.ch0p.com/?p=5</guid>
		<description><![CDATA[ 1 Introduction
This article is about connecting your Wii Remote to a PC. It describes various tools and programs to get you started.
Once connected you can use it for various purposes like gaming, controlling slide in a presentation or just zapping through your audio/video playlist.
You will need:
- A Wii remote
- a Wii compatible bluetooth device
- some [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p></p><div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a target="_blank" href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ch0p.com%2Fconnect-a-wii-remote-to-your-pc%2F" ><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ch0p.com%2Fconnect-a-wii-remote-to-your-pc%2F" height="61" width="51" title="Connect a Wii Remote to your PC" alt=" Connect a Wii Remote to your PC" /></a></div><h2><strong> </strong><strong>1 Introduction</strong></h2>
<p>This article is about connecting your Wii Remote to a PC. It describes various tools and programs to get you started.<br />
Once connected you can use it for various purposes like gaming, controlling slide in a presentation or just zapping through your audio/video playlist.</p>
<p>You will need:</p>
<ul>- A Wii remote<br />
- a Wii compatible bluetooth device<br />
- some software<br />
- and optionally a Nunchuck</ul>
<p><img src="http://www.circuitdb.com/download.php?fileID=346&amp;aid=true" border="0" alt=" Connect a Wii Remote to your PC"  title="Connect a Wii Remote to your PC" /><br />
First check if your bluetooth device is compatible with the Wii Remote or buy one that is. You can find a list at <a href="http://www.wiili.org/index.php/Compatible_Bluetooth_Devices"  class="broken_link"  target="_blank">WiiLi.org</a>. I used a Sitecom Bluetooth adapter which came with the TOSHIBA bluetooth stack on CD. The Microsoft Bluetooth Stack will not work, so you have to installl another one. I was lucky, I could use the CD that came with the Bluetooth adapter. If yours does not come with a usable stack try another BT stack.</p>
<p>I tried to connect my Wii Remote to a HP nc8000 laptop without success. I was using the standard drivers from HP. Unfortunatly I do not own the laptop, so I could not try different drivers.<br />
If you are using windows go to the next chapter. Linux users can go to chapter 3.</p>
<div>2 Using Windows</div>
<p>To connect the Wii-Remote press button 1 and 2 simultaneously or use the red sync button. This will make finable by any other Bluetooth device. Let your PC search for devices and select “Nintendo RVL-CNT-01” from the list of found devices. Connect it without using a pin code.</p>
<p>WiinRemote<br />
WiiRemote is an easy to use application that will allow you use your Wii Remote in windows. It provides mouse emulation and allows you to map some buttons to key presses. Unfortunately Nunchuck support is not really stable yet and the accelerometers in it are not used.<br />
I used it for testing, just download it from <a href="http://onakasuita.org/wii/index-e.html"  target="_blank">http://onakasuita.org/wii/index-e.html</a>.</p>
<p>Here is a screenshot of WiinRemote:<br />
<img src="http://www.circuitdb.com/download.php?fileID=347&amp;aid=true" border="0" alt=" Connect a Wii Remote to your PC"  title="Connect a Wii Remote to your PC" /></p>
<p>There it is done! The Wii Remote is now connected to a windows PC.</p>
<p>GlovePIE<br />
GlovePIE is a more complicated program whihc uses a scripting language to do it&#8217;s work.<br />
From <a href="http://carl.kenner.googlepages.com/glovepie"  target="_blank">http://carl.kenner.googlepages.com/glovepie</a>:</p>
<table border="0" cellspacing="1" cellpadding="3" width="90%" align="center">
<tbody>
<tr>
<td>Quote:</td>
</tr>
<tr>
<td>With GlovePIE you can now play any game, or control any software or MIDI devices, using whatever controls you want. This includes joysticks, gamepads, mice, keyboards, MIDI input devices, HMDs, Wiimotes, trackers, and of course, Virtual Reality gloves!</td>
</tr>
</tbody>
</table>
<p><img src="http://www.circuitdb.com/download.php?fileID=353&amp;aid=true" border="0" alt=" Connect a Wii Remote to your PC"  title="Connect a Wii Remote to your PC" /></p>
<p>After downloading GloPIE from <a href="http://carl.kenner.googlepages.com/glovepie_download"  target="_blank">http://carl.kenner.googlepages.com/glovepie_download</a>, just unpack it to a directory and start it (no install required).<br />
<a href="http://www.wiili.org/forum/glovepie-wii-mote-scripts-t360.html"  class="broken_link"  target="_blank">Here</a> are some scripts for the Wii Remote. Needless to say that GlovePIE possibilities are endless and that this allows you to use the Wii Remote the way you like it!</p>
<p>BlueTunes<br />
At <a href="http://home.comcast.net/~bluetunes/"  target="_blank">http://home.comcast.net/~bluetunes/</a> you can download a little application,called BluesTunes. It is able to control the following players: iTunes, Winamp, Napster, Windows Media Player, VLC, Quintessential Player, Media Player Classic, Foobar2000, Zune.</p>
<p><img src="http://www.circuitdb.com/download.php?fileID=352&amp;aid=true" border="0" alt=" Connect a Wii Remote to your PC"  title="Connect a Wii Remote to your PC" /></p>
<p>I tested it with Winamp and seems to work quite well. It uses the <a href="http://blogs.msdn.com/coding4fun/archive/2007/03/14/1879033.aspx"  target="_blank">Managed Library for Nintendo&#8217;s Wiimote</a> by <a href="http://www.brianpeek.com/"  target="_blank">Brian Peek</a></p>
<p>Other<br />
Tha above three programs allow are the best Wii Remote applications for Windows. Of course the are a lot more, here are some:</p>
<ul>- <a href="http://www.indyproject.org/WiiKey/index.en.aspx"  target="_blank">Wii Key</a><br />
- <a href="http://www.thisisnotalabel.com/My-Wiimote-Drum-Kit.php"  class="broken_link"  target="_blank">Virtual Drum Kit</a><br />
- <a href="http://wii.mattwilko.com/wiimedia/"  class="broken_link"  target="_blank">WiiMedia</a></ul>
<div>3 Using Linux</div>
<p>Although linux is getting more and more user-friendly al lot of things cost most time and effort than you are used from Windows. But in return you will be able you modify all code and thus your Wii Remote behavior. So don&#8217;t be scared, just follow the instructions and you will soon be making weird gestures in front of your linux pc.</p>
<p>Be sure to have BlueZ installed, this is the official linux bluetooth-stack. It&#8217;s in installed by default on Ubuntu 7.0.4.</p>
<p>You can use the hcitool to scan for bluetooth devices in range and get their bluetooth address. Press button 1 and 2 on the Wii Remote simultaneously and type &#8220;hcitool scan&#8221;. This will give you something like:</p>
<table border="0" cellspacing="1" cellpadding="3" width="90%" align="center">
<tbody>
<tr>
<td>jos@ubuntu:~$ sudo hcitool scan<br />
Password:<br />
Scanning &#8230;<br />
00:19:FD:C3:28:80       Nintendo RVL-CNT-01<br />
jos@ubuntu:~$</td>
</tr>
</tbody>
</table>
<p>To connect to your Wii Remote just type:</p>
<table border="0" cellspacing="1" cellpadding="3" width="90%" align="center">
<tbody>
<tr>
<td>jos@ubuntu:~$ sudo hidd &#8211;search<br />
Searching &#8230;<br />
Connecting to device 00:07:61:64:A2:98</td>
</tr>
</tbody>
</table>
<p>Or use the bluetooth address you have obtained with hcitool:</p>
<table border="0" cellspacing="1" cellpadding="3" width="90%" align="center">
<tbody>
<tr>
<td>sudo hidd –-connect 00:19:FD:C3:28:80</td>
</tr>
</tbody>
</table>
<p>After being connected to the PC the Wii Remote LEDs will continuously flash.</p>
<p>Disconnect with:</p>
<table border="0" cellspacing="1" cellpadding="3" width="90%" align="center">
<tbody>
<tr>
<td>sudo hidd &#8211;unplug 00:19:FD:C3:28:80</td>
</tr>
</tbody>
</table>
<p>WMD<br />
WMD stands for &#8216;Wanna Mote Dammit&#8217; and provides functionality to use your Wii Remote as a mouse and generates keyboard events for buttons. WMD is written in python which is very easy to modify. You can get it at <a href="http://forthewiin.org/"  target="_blank">http://ForTheWiiN.org</a>. ForTheWiiN.org seems to be down, you can <a href="http://www.circuitdb.com/download.php?fileID=356&amp;aid=true"  target="_blank">download wmd-0.1.2.tar.gz here</a>.</p>
<p>Assuming python is installed on your sytem you will need the following packages:</p>
<ul>python-bluez<br />
python-xlib<br />
python-pygame</ul>
<p>In Ubuntu you can simply install these using:</p>
<table border="0" cellspacing="1" cellpadding="3" width="90%" align="center">
<tbody>
<tr>
<td>sudo apt-get install python-bluez python-xlib python-pygame</td>
</tr>
</tbody>
</table>
<p><a href="http://www.wiili.org/index.php/WMD"  class="broken_link"  target="_blank">WiiLi</a> states that pyOSD, OSD, py-numpy, py-numpy-ext and python-matplotlib are also required. But in the current version (0.1.2) of WMD the use is disabled or obsolete, see WMD_DESIGN.txt in wmd-0.1.2.tar.gz.</p>
<p>Then check if the uinpit kernel module is loaded. Just use lsmod to check wich modules are loaded. Ubuntu needed the module to be loaded manually, this done with the modprobe command. Here is how to check if the module is loaded, then load the modules and check again:</p>
<table border="0" cellspacing="1" cellpadding="3" width="90%" align="center">
<tbody>
<tr>
<td>jos@jos-ubuntu:~$ lsmod | grep input<br />
jos@jos-ubuntu:~$ sudo modprobe uinput<br />
jos@jos-ubuntu:~$ lsmod | grep input<br />
uinput                 10240  0<br />
jos@jos-ubuntu:~$</td>
</tr>
</tbody>
</table>
<p>In Config.py edit the parameters UINPUT_DEV and MY_WIIMOTE_ADDR so that they match your system.<br />
Now we are ready to run WMD:</p>
<table border="0" cellspacing="1" cellpadding="3" width="90%" align="center">
<tbody>
<tr>
<td>sudo python WMD.py</td>
</tr>
</tbody>
</table>
<p>When all is right you will be shown graph:<br />
<img src="http://www.circuitdb.com/download.php?fileID=354&amp;aid=true" border="0" alt=" Connect a Wii Remote to your PC"  title="Connect a Wii Remote to your PC" /></p>
<p>The console windows will show some logging and if the Wii Remote has the sensor bar (or any other infrared light source) in sight the mousepointer will be taken over.<br />
The design of WMD is pretty clear and allow you to add your own module with some knowledge of Python.</p>
<p>CWiid<br />
<a href="http://abstrakraft.org/cwiid/"  target="_blank">CWiid </a>is a collection of Linux tools written in C for interfacing to the Nintendo Wiimote. CWiid consists of three components:</p>
<ul>1. libcwiid &#8211; API to integrate the Wii Remote into your application<br />
2. wmgui &#8211; a graphical representation of all the a data gathered by the Wii Remote<br />
3. wminput &#8211; event/mouse/joystick driver that allows you to emulate mouse joystick and keyboard events</ul>
<p>First get the packages required for CWiid:</p>
<table border="0" cellspacing="1" cellpadding="3" width="90%" align="center">
<tbody>
<tr>
<td>sudo apt-get install libbluetooth2 bluez-utils original-awk bison flex libbluetooth2-dev autoconf mouseemu  libgtk2.0-dev python2.5-dev</td>
</tr>
</tbody>
</table>
<p>Having done that it is time to donwload, compile and install CWiid:</p>
<table border="0" cellspacing="1" cellpadding="3" width="90%" align="center">
<tbody>
<tr>
<td>wget http://abstrakraft.org/cwiid/downloads/cwiid-0.6.00.tgz<br />
tar -zxvf cwiid-0.6.00.tgz<br />
cd cwiid-0.6.00/<br />
./configure<br />
make<br />
sudo make install<br />
sudo ldconfig /usr/local/lib/</td>
</tr>
</tbody>
</table>
<p>Start wmgui by typing &#8216;wmgui&#8217;. Connect the Wii Remote via &#8216;File&#8217; -&gt; &#8216;Connect&#8217;, then set all mark under the &#8216;Settings&#8217; menu.<br />
<img src="http://www.circuitdb.com/download.php?fileID=355&amp;aid=true" border="0" alt=" Connect a Wii Remote to your PC"  title="Connect a Wii Remote to your PC" />.</p>
<p>To control the mouse close wmgui and start wminput. To do this you need root rights or allow acces to /dev/input/uinput:</p>
<table border="0" cellspacing="1" cellpadding="3" width="90%" align="center">
<tbody>
<tr>
<td>jos@ubuntu:~$ sudo sh -c &#8216;echo &#8220;KERNEL==\&#8221;uinput\&#8221;, GROUP=\&#8221;admin\&#8221;" &gt; /etc/udev/rules.d/50-cwiid-input.rules&#8217;<br />
jos@ubuntu:~$ sudo /etc/init.d/udev restart</td>
</tr>
</tbody>
</table>
<p>wminput takes control over the mouse and uses the tilting sensors in the Wii Remote to emulate the mouse which is not really comfortable.</p>
<p>To use the sensorbar (or any other infrared source) add somelines to xorg.conf. Somewhere near the other InputDevice sections add:</p>
<table border="0" cellspacing="1" cellpadding="3" width="90%" align="center">
<tbody>
<tr>
<td>Section &#8220;InputDevice&#8221;<br />
Identifier      &#8220;Wiimote&#8221;<br />
Driver          &#8220;evdev&#8221;<br />
Option          &#8220;Name&#8221;          &#8220;Nintendo Wiimote&#8221;<br />
EndSection</td>
</tr>
</tbody>
</table>
<p>In the ServerLayout section add:</p>
<table border="0" cellspacing="1" cellpadding="3" width="90%" align="center">
<tbody>
<tr>
<td>InputDevice     &#8221;Wiimote&#8221; &#8220;AlwaysCore&#8221;</td>
</tr>
</tbody>
</table>
<p>Restart X (safest way is to reboot your system), log back in and type:</p>
<table border="0" cellspacing="1" cellpadding="3" width="90%" align="center">
<tbody>
<tr>
<td>wminput -c ir_ptr</td>
</tr>
</tbody>
</table>
<p>Now can use the use the Wii Remote the way you are used in the Wii menus!</p>
<div>4 Conclusion</div>
<p>There are several programs that give you the possibility to use a Wii Remote on a Windows or Linux PC. Each program has is pros and cons. Some are highly flexible and others are really easy to use. My personal favorite is <a href="http://abstrakraft.org/cwiid/"  target="_blank">CWiid</a> because it seems to be really stable, fully supports the Nunchuck and is running on Linux <img src="http://www.circuitdb.com/images/smiles/icon_smile.gif" border="0" alt="Smile" title="Connect a Wii Remote to your PC" />. For the Windows users I can recomend <a href="http://carl.kenner.googlepages.com/glovepie_download"  target="_blank">GlovePIE</a> and if you are more in to programming dive into the <a href="http://blogs.msdn.com/coding4fun/archive/2007/03/14/1879033.aspx"  target="_blank">Managed Library for Nintendo&#8217;s Wiimote</a>.</p>
<p>Links and references</p>
<p>Windows:</p>
<ul><a href="http://onakasuita.org/wii/index-e.html"  target="_blank">WiinRemote</a> &#8211; A simple and easy to use application. Very usefull to test your Wii Remote for the first time.<br />
<a href="http://carl.kenner.googlepages.com/glovepie_download"  target="_blank">GlovePIE</a> &#8211; A script engine especially made to translate between input device and application.<br />
<a href="http://blogs.msdn.com/coding4fun/archive/2007/03/14/1879033.aspx"  target="_blank">Managed Library for Nintendo&#8217;s Wiimote</a><br />
<a href="http://home.comcast.net/~bluetunes/"  target="_blank">BlueTunes</a></ul>
<p>Linux:</p>
<ul><a href="http://abstrakraft.org/cwiid/"  target="_blank">CWiid</a> &#8211; A magnificent library delivered together with some tools using the library.<br />
<a href="http://forthewiin.org/"  target="_blank">WMD</a> &#8211; A python driven Wii Remote program for linux.<br />
<a href="http://www.wiili.org/"  class="broken_link"  target="_blank">WiiLi</a> &#8211; Wii Linux site, all about Wii &amp; linux can be found here.<br />
<a href="http://walter.schreppers.com/index.php?page=blogpost&amp;pos=23"  class="broken_link"  target="_blank">Using WMD and custom script to control the XMMS media player</a><br />
<a href="http://lagneuronal.wordpress.com/2008/02/04/wiimote-en-ubuntu-con-wmd-probando-en-una-dell-xps-m1210/"  target="_blank">A Spanish translation of the linux/WMD part of this article</a></ul>
<div class="circuitparheading">3 Using Linux</div>
<p>Although linux is getting more and more user-friendly al lot of things cost most time and effort than you are used from Windows. But in return you will be able you modify all code and thus your Wii Remote behavior. So don&#8217;t be scared, just follow the instructions and you will soon be making weird gestures in front of your linux pc.</p>
<p>Be sure to have BlueZ installed, this is the official linux bluetooth-stack. It&#8217;s in installed by default on Ubuntu 7.0.4.</p>
<p>You can use the hcitool to scan for bluetooth devices in range and get their bluetooth address. Press button 1 and 2 on the Wii Remote simultaneously and type &#8220;hcitool scan&#8221;. This will give you something like:</p>
<table border="0" cellspacing="1" cellpadding="3" width="90%" align="center">
<tbody>
<tr>
<td class="code">jos@ubuntu:~$ sudo hcitool scan<br />
Password:<br />
Scanning &#8230;<br />
00:19:FD:C3:28:80       Nintendo RVL-CNT-01<br />
jos@ubuntu:~$</td>
</tr>
</tbody>
</table>
<p><span class="postbody"> </span></p>
<p>To connect to your Wii Remote just type:</p>
<table border="0" cellspacing="1" cellpadding="3" width="90%" align="center">
<tbody>
<tr>
<td class="code">jos@ubuntu:~$ sudo hidd &#8211;search<br />
Searching &#8230;<br />
Connecting to device 00:07:61:64:A2:98</td>
</tr>
</tbody>
</table>
<p><span class="postbody"><br />
Or use the bluetooth address you have obtained with hcitool: </span></p>
<table border="0" cellspacing="1" cellpadding="3" width="90%" align="center">
<tbody>
<tr>
<td class="code">sudo hidd –-connect 00:19:FD:C3:28:80</td>
</tr>
</tbody>
</table>
<p><span class="postbody"><br />
After being connected to the PC the Wii Remote LEDs will continuously flash.</span></p>
<p>Disconnect with:</p>
<table border="0" cellspacing="1" cellpadding="3" width="90%" align="center">
<tbody>
<tr>
<td class="code">sudo hidd &#8211;unplug 00:19:FD:C3:28:80</td>
</tr>
</tbody>
</table>
<p><span class="postbody"> </span></p>
<p><span style="font-weight: bold;">WMD</span><br />
WMD stands for &#8216;Wanna Mote Dammit&#8217; and provides functionality to use your Wii Remote as a mouse and generates keyboard events for buttons. WMD is written in python which is very easy to modify. You can get it at <a href="http://forthewiin.org/" class="postlink"  target="_blank">http://ForTheWiiN.org</a>. ForTheWiiN.org seems to be down, you can <a href="http://www.circuitdb.com/download.php?fileID=356&amp;aid=true" class="postlink"  target="_blank">download wmd-0.1.2.tar.gz here</a>.</p>
<p>Assuming python is installed on your sytem you will need the following packages:</p>
<ul>python-bluez<br />
python-xlib<br />
python-pygame</ul>
<p>In Ubuntu you can simply install these using:</p>
<table border="0" cellspacing="1" cellpadding="3" width="90%" align="center">
<tbody>
<tr>
<td class="code">sudo apt-get install python-bluez python-xlib python-pygame</td>
</tr>
</tbody>
</table>
<p><span class="postbody"> </span></p>
<p><a href="http://www.wiili.org/index.php/WMD" class="postlink"  class="broken_link"  target="_blank">WiiLi</a> states that pyOSD, OSD, py-numpy, py-numpy-ext and python-matplotlib are also required. But in the current version (0.1.2) of WMD the use is disabled or obsolete, see WMD_DESIGN.txt in wmd-0.1.2.tar.gz.</p>
<p>Then check if the uinpit kernel module is loaded. Just use lsmod to check wich modules are loaded. Ubuntu needed the module to be loaded manually, this done with the <span style="font-style: italic;">modprobe</span> command. Here is how to check if the module is loaded, then load the modules and check again:</p>
<table border="0" cellspacing="1" cellpadding="3" width="90%" align="center">
<tbody>
<tr>
<td class="code">jos@jos-ubuntu:~$ lsmod | grep input<br />
jos@jos-ubuntu:~$ sudo modprobe uinput<br />
jos@jos-ubuntu:~$ lsmod | grep input<br />
uinput                 10240  0<br />
jos@jos-ubuntu:~$</td>
</tr>
</tbody>
</table>
<p><span class="postbody"> </span></p>
<p>In Config.py edit the parameters <span style="font-style: italic;">UINPUT_DEV</span> and <span style="font-style: italic;">MY_WIIMOTE_ADDR</span> so that they match your system.<br />
Now we are ready to run WMD:</p>
<table border="0" cellspacing="1" cellpadding="3" width="90%" align="center">
<tbody>
<tr>
<td class="code">sudo python WMD.py</td>
</tr>
</tbody>
</table>
<p><span class="postbody"><br />
When all is right you will be shown graph:<br />
<img src="http://www.circuitdb.com/download.php?fileID=354&amp;aid=true" border="0" alt=" Connect a Wii Remote to your PC"  title="Connect a Wii Remote to your PC" /></span></p>
<p>The console windows will show some logging and if the Wii Remote has the sensor bar (or any other infrared light source) in sight the mousepointer will be taken over.<br />
The design of WMD is pretty clear and allow you to add your own module with some knowledge of Python.</p>
<p><span style="font-weight: bold;">CWiid</span><br />
<a href="http://abstrakraft.org/cwiid/" class="postlink"  target="_blank">CWiid </a>is a collection of Linux tools written in C for interfacing to the Nintendo Wiimote. CWiid consists of three components:</p>
<ul>1. libcwiid &#8211; API to integrate the Wii Remote into your application<br />
2. wmgui &#8211; a graphical representation of all the a data gathered by the Wii Remote<br />
3. wminput &#8211; event/mouse/joystick driver that allows you to emulate mouse joystick and keyboard events</ul>
<p>First get the packages required for CWiid:</p>
<table border="0" cellspacing="1" cellpadding="3" width="90%" align="center">
<tbody>
<tr>
<td class="code">sudo apt-get install libbluetooth2 bluez-utils original-awk bison flex libbluetooth2-dev autoconf mouseemu  libgtk2.0-dev python2.5-dev</td>
</tr>
</tbody>
</table>
<p><span class="postbody"><br />
Having done that it is time to donwload, compile and install CWiid:</span></p>
<table border="0" cellspacing="1" cellpadding="3" width="90%" align="center">
<tbody>
<tr>
<td class="code">wget http://abstrakraft.org/cwiid/downloads/cwiid-0.6.00.tgz<br />
tar -zxvf cwiid-0.6.00.tgz<br />
cd cwiid-0.6.00/<br />
./configure<br />
make<br />
sudo make install<br />
sudo ldconfig /usr/local/lib/</td>
</tr>
</tbody>
</table>
<p><span class="postbody"><br />
Start wmgui by typing &#8216;wmgui&#8217;. Connect the Wii Remote via &#8216;File&#8217; -&gt; &#8216;Connect&#8217;, then set all mark under the &#8216;Settings&#8217; menu.<br />
<img src="http://www.circuitdb.com/download.php?fileID=355&amp;aid=true" border="0" alt=" Connect a Wii Remote to your PC"  title="Connect a Wii Remote to your PC" />.</span></p>
<p>To control the mouse close wmgui and start wminput. To do this you need root rights or allow acces to /dev/input/uinput:</p>
<table border="0" cellspacing="1" cellpadding="3" width="90%" align="center">
<tbody>
<tr>
<td class="code">jos@ubuntu:~$ sudo sh -c &#8216;echo &#8220;KERNEL==\&#8221;uinput\&#8221;, GROUP=\&#8221;admin\&#8221;" &gt; /etc/udev/rules.d/50-cwiid-input.rules&#8217;<br />
jos@ubuntu:~$ sudo /etc/init.d/udev restart</td>
</tr>
</tbody>
</table>
<p><span class="postbody"> </span></p>
<p>wminput takes control over the mouse and uses the tilting sensors in the Wii Remote to emulate the mouse which is not really comfortable.</p>
<p>To use the sensorbar (or any other infrared source) add somelines to xorg.conf. Somewhere near the other InputDevice sections add:</p>
<table border="0" cellspacing="1" cellpadding="3" width="90%" align="center">
<tbody>
<tr>
<td class="code">Section &#8220;InputDevice&#8221;<br />
Identifier      &#8220;Wiimote&#8221;<br />
Driver          &#8220;evdev&#8221;<br />
Option          &#8220;Name&#8221;          &#8220;Nintendo Wiimote&#8221;<br />
EndSection</td>
</tr>
</tbody>
</table>
<p><span class="postbody"> </span></p>
<p>In the ServerLayout section add:</p>
<table border="0" cellspacing="1" cellpadding="3" width="90%" align="center">
<tbody>
<tr>
<td class="code">InputDevice     &#8221;Wiimote&#8221; &#8220;AlwaysCore&#8221;</td>
</tr>
</tbody>
</table>
<p><span class="postbody"> </span></p>
<p>Restart X (safest way is to reboot your system), log back in and type:</p>
<table border="0" cellspacing="1" cellpadding="3" width="90%" align="center">
<tbody>
<tr>
<td class="code">wminput -c ir_ptr</td>
</tr>
</tbody>
</table>
<p><span id="_marker"> </span></p>
<p>Now can use the use the Wii Remote the way you are used in the Wii menus!</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.ch0p.com/connect-a-wii-remote-to-your-pc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wii Compatible Bluetooth Adapters</title>
		<link>http://www.ch0p.com/wii-compatible-bluetooth-adapters/</link>
		<comments>http://www.ch0p.com/wii-compatible-bluetooth-adapters/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 05:57:31 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[nintendo wii]]></category>
		<category><![CDATA[wii homebrew]]></category>
		<category><![CDATA[connet wii remote]]></category>
		<category><![CDATA[wii bluetooth adapter]]></category>

		<guid isPermaLink="false">http://www.ch0p.com/list-of-working-bluetooth-devices/</guid>
		<description><![CDATA[list of other Wii compatible Bluetooth Adapters
1)  I used the small plug drom dealextreme with my wiimote, worked nicely. Bluetooth Adapter 



2) I have also used a Sitecom Bluetooth adapter which came with the TOSHIBA bluetooth stack on CD. The Microsoft Bluetooth Stack will not work, so you have to installl another one. I was lucky, [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p></p><div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a target="_blank" href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ch0p.com%2Fwii-compatible-bluetooth-adapters%2F" ><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ch0p.com%2Fwii-compatible-bluetooth-adapters%2F" height="61" width="51" title="Wii Compatible Bluetooth Adapters" alt=" Wii Compatible Bluetooth Adapters" /></a></div><p>list of other Wii compatible Bluetooth Adapters</p>
<p>1)  I used the small plug drom dealextreme with my wiimote, worked nicely. <a target="_blank" href="http://www.dealextreme.com/details.dx/sku.11866" >Bluetooth Adapter</a> </p>
<p><a href="http://www.mb01.com/lnk.asp?o=2483&amp;c=35164&amp;a=54099"><br />
<img src="http://www.mb01.com/getimage.asp?m=1753&amp;o=2483&amp;i=35164.dat" border="0" alt="getimage.asp?m=1753&amp;o=2483&amp;i=35164 Wii Compatible Bluetooth Adapters" width="468" height="60" title="Wii Compatible Bluetooth Adapters" /><br />
</a><br />
2) I have also used a <a target="_blank" href="http://www.amazon.co.uk/Sitecom-CN-500-USB-Bluetooth-Adapter/dp/B0000A03M5" >Sitecom Bluetooth adapter</a> which came with the TOSHIBA bluetooth stack on CD. The Microsoft Bluetooth Stack will not work, so you have to installl another one. I was lucky, I could use the CD that came with the Bluetooth adapter. If yours does not come with a usable stack try another BT stack.<br />
<a href="http://www.mb01.com/lnk.asp?o=2478&amp;c=35097&amp;a=54099"><br />
<img src="http://www.mb01.com/getimage.asp?m=1753&amp;o=2478&amp;i=35097.dat" border="0" alt="getimage.asp?m=1753&amp;o=2478&amp;i=35097 Wii Compatible Bluetooth Adapters" width="645" height="60" title="Wii Compatible Bluetooth Adapters" /><br />
</a></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.ch0p.com/wii-compatible-bluetooth-adapters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
