Using a Wii Remote to Control WMP on a PC





Introduction: Using a Wii Remote to Control WMP on a PC

Have you ever wished you could control your music from the next room?
The Remote, (or controller) sold by Nintendo for there "Wii" gaming machine (or console) is almost perfect, and if you're like me you already have one.

The WiiMote uses Bluetooth to communicate with the system and many laptops are now sold with Bluetooth built in.

The only down side is that most are sold with a class 2 adapter that is only reliable from acros the room. But if you what to be able to use it anywhere in the house you can get a class 1 USB adapter for about $40 (check the parts list for a suitable unit).

Theoreticallyall the data going to and from the WiiMote goes through a usb port (my Bluetooth adapter may be internal but it's still USB)

Step 1: Parts/Software

A short list of items you will need to continue.

PC running almost any version of windows, confirmed working on 2008r2 (same kernel as windows 7)
A Bluetooth adapter, the Linksys USBBT100 is the only class 1 unit I could find.

A copy of GlovePIE You have %100 Green power, right?

Step 2: Bluetooth

To connect the WiiMote to your PC just hold the 1 and 2 buttons (making sure the Wii is off or far away or it will connect to that) and follow the steps bellow.

Step 3: GlovePIE

Okay after you get GlovePIE, extract it to a folder (on the desktop is convent, but if your a clean freak, better put it in your programs folder).
Then make a shortcut to GlovePIE.exe.

Open the program and past this:

//Adjust the wait time to you liking.
if then
  if var.up then
    volumeup = true
    wait 240 ms
    volumeup = false
    var.up = 0
    volumeup = true
    wait 60 ms
    volumeup = false
  var.up = 1

if wiimote.minus then
  if var.down then
    volumedown = true
    wait 240 ms
    volumedown = false
    var.down = 0
    volumedown = true
    wait 60 ms
    volumedown = false
  var.down = 1

PlayPause = WiiMote.A
NextTrack = WiiMote.Right
PrevTrack = WiiMote.Left

The original (and shown below) isn't mine but I couldn't find the source.
I wasn't that happy with it so I made some new stuff, it provides a progressive feel.

Step 4: Usage

GlovePIE is still experimental so this may not work on all systems but it's doesn't harm the PC ot WiiMote in anyway so mite as well give it a try.

Click run and open WMP, Please post if it works or not.

Left and right are to skip, A is Play/Pause Plus and Minus are volume.
Have fun and remember, if you like it rate and vote for it.

Step 5: Extra

If you don't like the stock lighting scheme you can add the code:

var.KITTspeed = 120 ms

if 0 = 0 then
  if var.kitt = 0 then
    wiimote.Leds = 1
  if var.kitt = 1 then
    wiimote.Leds = 3
  if var.kitt = 2 then
    wiimote.Leds = 6
  if var.kitt = 3 then
    wiimote.Leds = 12
  if var.kitt = 4 then
    wiimote.Leds = 8
  if var.kitt = 5 then
    wiimote.Leds = 12
  if var.kitt = 6 then
    wiimote.Leds = 6
  if var.kitt = 7 then
    wiimote.Leds = 3
  wait var.KITTspeed
  var.kitt = (var.kitt + 1) % 8

To make the lights emulate Kitt.



    • Epilog Challenge 9

      Epilog Challenge 9
    • Trash to Treasure

      Trash to Treasure
    • Pro Tips Challenge

      Pro Tips Challenge

    We have a be nice policy.
    Please be positive and constructive.




    Is there a way to do this on a Mac? It recognizes the wii remote on the bluetooth menu and will connect but their is no preferences menu or anything like that

    Do you have to use an updated version of Bluesoleil? I can get my remote to connect no problem, but then when I run the program in Glove, it just sits there. I'm way back in the version of if that helps at all.

    I've never used Bluesoleil, so unfortunatly I don't know.

    Hey it works fine,it even works for vlc player.go to view---add interface----console,it work s fine enjoy.

    I can't believe this actually works! Now I don't have to even touch my mouse to listen to music!

    hey! this really works! thanks for this!!

    Did you use class 1 or 2

    You should have a blue tooth icon in your task bar. You should get a similar window after clicking it. If you don't see one your bluetooth dongle may not be installed correctly.

    After a little searching on how to pair it on my system I got it working and its perfect! I guess I have a built in class 1 because I can use this from anywhere in the house! Great instructable man! thanks!