Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
sudo apt-get update sudo apt-get install bluez
sudo update-rc.d -f dbus defaults
sudo apt-get install libbluetooth-dev g++ libcwiid1 xbmc-eventclients-common make git-core mkdir /usr/local/src/xbmc git clone git://github.com/xbmc/xbmc.git /usr/local/src/xbmc cd /usr/local/src/xbmc/tools/EventClients/Clients/WiiRemote
modify MakeFile to add "-l bluetooth" on the line "$(OBJS) -o $(BIN)" $(OBJS) -o $(BIN) -l bluetooth
sudo make
sudo initctl stop xbmc /etc/init.d/bluetooth restart cd /usr/local/src/xbmc/tools/EventClients/Clients/WiiRemote ./WiiUse_WiiRemote
sudo initctl start xbmc
hcitool scan
nano /home/pi/wiimote.sh
#!/sbin/sh /etc/init.d/bluetooth restart sleep 2 cd /usr/local/src/xbmc/tools/EventClients/Clients/WiiRemote ./WiiUse_WiiRemote --btaddr XX:XX:XX:XX:XX:XX
chmod +x /home/pi/wiimote.sh
sudo nano /etc/rc.local
sh /home/pi/wiimote.sh &
Remember Me
a@href@title, strike