![]() |
Copied from http://www.nslu2-linux.org/wiki/HowTo/ConnectWiimoteDebian In this page I will describe how to connect a Nintendo wiimote on your slug. This document follows on from the debian link ConnectWiimoteDebian. In that page just go as far as the following bit that gets the address of the mote.
Please note the address of the wiimote is returned. This number is the address of the wiimote. I log in as root. use sudo otherwise Install Python, bluez and python-bluez
Use the code from http://www.wiili.org/index.php/Wiiewer and respect the license DWTFYWT public licence. Change the address as required. Don't worry about pairing and all the rubbish. It's not needed. The critical thing is to make sure bluetooth is going using hcitool dev and hcitool scan. Easy Peezy Lemon Squeezy!! ps. Use my code as it does not require pygame and has a simpler output. http://www.bluekulu.com/files/wii.pys Now that you have that done, scratch your head and wonder the age old question of geekery ... "why?" |