Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

TheSWL :: Controlling your cursor with a Wiimote

Loading...

Sign in or sign up now!
3,618
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 8, 2008

*** REQUIRES UBUNTU LINUX 6.06 OR HIGHER. THIS DOES NOT WORK WITH MICROSOFT WINDOZE OR MAC OS! ***

Hello there; this video shows you how to control your cursor on Ubuntu with a Nintendo Wii remote (Wiimote)

Follow the video and when you need the software installed (when I mention the shownotes), use the following commands:

First run:

sudo apt-get install libbluetooth2 bluez-utils original-awk bison flex libbluetooth2-dev autoconf mouseemu libgtk2.0-dev

This will install most of the required software.
Next run each line of the following ONE AT A TIME:

mkdir Wii
cd Wii/
wget http://downloads.sourceforge.net/libwiimote/libwiimote-0.4.tgz?modtime=117354...
tar -xf libwiimote-0.4.tgz
cd libwiimote-0.4/
autoconf
./configure
make
sudo make install

wget http://abstrakraft.org/cwiid/downloads/cwiid-0.5.03.tgz
tar -xf cwiid-0.5.03.tgz
cd cwiid-0.5.03/
./configure
make
sudo make install
sudo ldconfig /usr/local/lib/

You now have to add the following lines to your xorg.conf file. Run the following command:

sudo gedit /etc/X11/xorg.conf

***** IF YOU MESS THIS UP YOU WILL DESTROY YOUR X SERVER CONFIGURATION. TAKE CARE AT THE FOLLOWING STEPS. IF YOU FEEL YOU MAY HAVE DONE IT WRONG, DO NOT SAVE AND TRY AGAIN. *****

Under the last 'InputDevice' section in the xorg.conf file, add the following lines:

Section "InputDevice" Identifier "Wiimote" Driver "evdev" Option "Name" "Nintendo Wiimote"
EndSection

And at the bottom of the file, in 'ServerLayout', add the following line:

InputDevice "Wiimote" "AlwaysCore"

That's it! You can now run the

sudo wminput -c ir_ptr

command!

You are now ready to continue with the instructions in the video. If anything goes wrong, please comment or contact me.
I have tested the installation on Ubuntu 6.06, 6.10, 7.04, 7.10 and 8.04a.

Thanks to Donnie Smith (author of wmgui) and GOOD LUCK WITH YOUR WIIMOTE!

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (theshortwavelistener)

  • can i use the built in IR (Receiver only) on the computer?

  • No, this interfaces to the Wiimote only. The Wii has an actual camera, whereas the IR receiver most likely has a photodiode.

    73s DE MI6TUX

  • cant you use 2 leds, like outher ppl do it?

  • you can, but the software only requires 1 to track, unlike the Wii. This software doesn't need two sources, but will work with many.

see all

All Comments (14)

Sign In or Sign Up now to post a comment!
  • wow

    i hate Ubuntu and uninstalled it.

    not downloading again

    and why not windows??? way more popular. (about 90% of people use windows)

  • Now that ubuntu has progressed a few versions and, also the motionplus adaptor is out, what benefits are there to using the motion plus with this. I have a wii remote like this and a motionplus and ubuntu etc and, to be honest, I just want to find an excuse to use the motion plus and the wii remote. after all, I have no Wii. :)

  • Very nice description, quite professional I might say. I liked how you went into minor details. I guess everybody would understand the idea by a glimpse.

    Ubuntu users, you must try this wiiMote.

  • i need help like i cant get the little finger to show up and move around to play

  • Linux is Cool. I use Debian(Gnu/Linux)

  • yep - its an expensive IR-LED array

    and this software is better than the Wii's - the Wii needs 2 LEDs to track, and Linux's only needs 1 - but works with 2 :)

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more