Lets start with Wiimote

Wiimote is a Bluetooth enabled remote control for Wii gaming from Nintendo factory. These days it is becoming centre of attraction for hackers. Due to its various features like Bluetooth connectivity, accelerometers etc . I Purchased a wiimote set after struggling in Lajpat Rai Market, Chandni Chowk. Now I started working on and understanding its features. I tried to Hack it and started by downloading libraries (you can say drivers) for wiimote from internet on my ubu-antriksh ( i used to call my laptop by this when ubuntu OS is running lol).

My First Experiment is basically not only mine its been done already by lot of people but was first for me. I tried to make wiimote work as mouse on ubu-antriksh. I google it, and finally found some blogs and forum which could help me. Now explaining Stepwise :

install drivers for wiimote. i.e libwiimote using

wget http://downloads.sourceforge.net/libwiimote/libwiimote-0.4.tgz?modtime=1173542681&big_mirror=0

then Install wmgui, its a gui wiimote emulator using

” $ sudo apt-get install wmgui”

install lswm

“$ sudo apt-get install lswm”

install wminput
“$ sudo apt-get install wminstall”

now using command lswm , we get the address of the wiimote connected to your PC.
“$ lswm”

wiimote as mouse

Here 00:18:00:0E:0F:00 is the address of the device connected to bluetooth device of your PC or laptop. It is different for different devices.

now use wminput 00:18:00:0E:0F:00

wiimote as mouse

The man pages for wminput does not recommend running wminput as root. So run the following command so that you can gain access to /dev/input/uinput without having to use
sudo.

$ sudo sh -c ‘echo “KERNEL==\”uinput\”, GROUP=\”admin\””> /etc/udev/rules.d/50-cwiid-input.rules’ /etc/init.d/udev restart

This would help you in the process of using Wiimote as your laptop or PC’s mouse. So HACK & ENJOY.

Advertisements